X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=doc%2Fpatplex.doc;h=d2ee009b0c352e4969f94023d829015a8a4d355d;hp=2d9acbd4209a2504df101109ad3f1404aaed862f;hb=77a840e52bd16bdcfffec75cb5e7f4a2315d7cf5;hpb=acc2d159e6f946ed6abc7c0e843a483d6478bee3 diff --git a/doc/patplex.doc b/doc/patplex.doc index 2d9acbd..d2ee009 100644 --- a/doc/patplex.doc +++ b/doc/patplex.doc @@ -101,14 +101,23 @@ only the *handler* action is recognized: 'HANDLER' must be a named handler as declared by a *child* or *fchild* stanza, to which the request is passed. -Additionally, a *match* stanza may contain a *restpat* line: +Additionally, a *match* stanza may contain any of the following, +optional lines: + +*set* 'HEADER' 'VALUE':: + + If the *match* stanza as a whole matches, the named HTTP + 'HEADER' in the request is set to 'VALUE' before passing the + request on to the specified handler. A *match* stanza may + contain any number of *set* lines. *restpat* 'TEMPLATE':: If the *match* stanza as a whole matches, 'TEMPLATE' is expanded and installed as the rest string of the request before it is passed to the specified handler. In 'TEMPLATE', - the following parameters are recognized and expanded. + the following parameters are recognized and expanded. At most + one *restpat* line may be given per *match* stanza. *$0* ... *$9*::