X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=doc%2Fpatplex.doc;fp=doc%2Fpatplex.doc;h=5a60e9637ec5e9624f92d6b3ccdebcf319ae90b3;hp=86d6aced27425336b32fd2b5d747595f51d43332;hb=7a3871f63e569b5f338112d63865d069e42d11bf;hpb=929e9146d5d4242b5e51a5aebc5fcd8ff731b8f6 diff --git a/doc/patplex.doc b/doc/patplex.doc index 86d6ace..5a60e96 100644 --- a/doc/patplex.doc +++ b/doc/patplex.doc @@ -92,10 +92,14 @@ rules are recognized: 'HEADER', the rule never matches. If 'FLAGS' contain the character `i`, 'REGEX' is matched case-independently. +*all*:: + + The rule always matches. + *default*:: - Matches if and only if no *match* stanza without a *default* - rule has matched. + Convenient shorthand for an *all* line followed by *priority + -10* (see below). In addition to the rules, a *match* stanza must contain exactly one follow-up line specifying the action to take if it matches. Currently, @@ -109,6 +113,20 @@ only the *handler* action is recognized: Additionally, a *match* stanza may contain any of the following, optional lines: +*priority* 'INTEGER':: + + Specifies the priority for the match stanza. In case more than + one stanza match a request, the one with the highest priority + is used. In case more than one stanza with the same highest + priority match a request, it is unspecified which will be + used. Match stanzas without a priority specification will + default to priority 0. Either positive or negative priorities + may be specified. + +*order* 'INTEGER':: + + A synonym for *priority*. Use whichever you like the best. + *set* 'HEADER' 'VALUE':: If the *match* stanza as a whole matches, the named HTTP