X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=doc%2Fdirplex.doc;h=8a0184f6f13f10e651678f1f7d5543a1df151ec5;hb=HEAD;hp=3737e24f176cce543308210e0aa63c42b3dbebb8;hpb=dc38734591c5e26403b608078ce41b67a012d7f2;p=ashd.git diff --git a/doc/dirplex.doc b/doc/dirplex.doc index 3737e24..c18ca14 100644 --- a/doc/dirplex.doc +++ b/doc/dirplex.doc @@ -148,6 +148,19 @@ The following configuration directives are recognized: may be given to turn off index file searching completely. The *index-file* directive accepts no follow-up lines. +*dot-allow* ['PATTERN'...]:: + + As described under 404 RESPONSES, a path element beginning + with a dot character is normally rejected by default, but the + *dot-allow* directive allows certain dot-files or -directories + to be selectively allowed. Each 'PATTERN' is an ordinary glob + pattern, the matching of which allows access to a given path + element. When checking for access to dot-files or + -directories, only the *dot-allow* directive "closest" to the + file under consideration is used. It should be noted that the + default configuration file for *dirplex* contains a + *dot-allow* directive for the `.well-known` directory. + *child* 'NAME':: Declares a named, persistent request handler (see *ashd*(7) @@ -295,7 +308,7 @@ A HTTP 404 response is sent to the client if * A path element is encountered during mapping which, after URL unescaping, either begins with a dot or contains slashes; * The mapping procedure finds a file which is neither a directory nor - a regular file (or a symbolic link to any of the same); + a regular file (nor a symbolic link to any of the same); * An empty, non-final path element is encountered during mapping; or * The mapping procedure results in a file which is not matched by any *match* stanza.