dirplex: Added directory-locality to matches.
[ashd.git] / doc / dirplex.doc
index adbd204..8798235 100644 (file)
@@ -153,7 +153,7 @@ The follow configuration directives are recognized:
 
        Declares a named, transient request handler (see *ashd*(7) for
        a more detailed description of persistent handlers). It must
-       contains exactly one follow-up line, *exec* 'PROGRAM'
+       contain exactly one follow-up line, *exec* 'PROGRAM'
        ['ARGS'...], specifying the program to execute and the
        arguments to pass it. In addition to the specified arguments,
        the HTTP method, raw URL and the rest string will be appended
@@ -219,6 +219,12 @@ The following rules are recognized:
        Matches if and only if no *match* stanza without a *default*
        rule has matched.
 
+*local*::
+
+       Valid only in `.htrc` files, *local* matches if an only if the
+       file under consideration resides in the same directory as the
+       containing `.htrc` file.
+
 In addition to the rules, a *match* stanza must contain exactly one
 follow-up line specifying the action to take if it matches. The
 following actions are recognized: