From: Rich Bowen Date: Tue, 14 Apr 2015 18:25:33 +0000 (+0000) Subject: Clarify DirectoryMatch example. (bz 53483) X-Git-Tag: 2.4.13~265 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f7803d27b75c768c024ffc64968b694323e8922;p=apache Clarify DirectoryMatch example. (bz 53483) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1673489 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 1781ad6587..0f2690d396 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -858,13 +858,13 @@ the contents of file-system directories matching a regular expression.regular expression. For example:

-<DirectoryMatch "^/www/(.+/)?[0-9]{3}"> +<DirectoryMatch "^/www/(.+/)?[0-9]{3}/"> # ... </DirectoryMatch> -

would match directories in /www/ that consisted of three - numbers.

+

matches directories in /www/ (or any subdirectory thereof) + that consist of three numbers.

Compatability Prior to 2.3.9, this directive implicitly applied to sub-directories @@ -889,7 +889,7 @@ the contents of file-system directories matching a regular expression. <DirectoryMatch ^/var/www/combined/(?<sitename>[^/]+)> - require ldap-group cn=%{env:MATCH_SITENAME},ou=combined,o=Example + Require ldap-group cn=%{env:MATCH_SITENAME},ou=combined,o=Example </DirectoryMatch>