X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=doc%2Fdirplex.doc;h=7e9ab383af7bad9e2f5df1e62372e157c9d0eb3a;hb=2f9428608e54bb015722c76e64cf9faf1df8b19e;hp=adbd204f1ad9fac5b2a292c3c7fb28c4925e8e19;hpb=1406acb56481b06889f6a1aa1d331f48e7150059;p=ashd.git diff --git a/doc/dirplex.doc b/doc/dirplex.doc index adbd204..7e9ab38 100644 --- a/doc/dirplex.doc +++ b/doc/dirplex.doc @@ -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 and 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: