X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=doc%2Fdirplex.doc;h=fe21c7e8426a2217043eb22a145fff56fca2d3b0;hb=2824afabef34b9bd0aa41644c7da1858d1532da8;hp=e4c3b3ecbc3326d2b8224c7b281948224437588b;hpb=056f947352274dd1f6ec51b03c423c12e3828623;p=ashd.git diff --git a/doc/dirplex.doc b/doc/dirplex.doc index e4c3b3e..fe21c7e 100644 --- a/doc/dirplex.doc +++ b/doc/dirplex.doc @@ -261,6 +261,22 @@ following actions are recognized: by a *fchild* stanza. This action exists mostly for convenience. +A *match* stanza may also contain any number of the following, +optional directives: + +*set* 'HEADER' 'VALUE':: + + If the *match* stanza is selected as the match for a file, the + named HTTP 'HEADER' in the request is set to 'VALUE' before + passing the request on to the specified handler. + +*xset* 'HEADER' 'VALUE':: + + *xset* does exactly the same thing as *set*, except the + 'HEADER' is automatically prepended with the `X-Ash-` + prefix. The intention is only to make configuration files + look nicer in this very common case. + 404 RESPONSES -------------