From e7f9be5468a39c10e8cbd55a03ee7edea17ca8ae Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Tue, 14 Apr 2015 18:19:57 +0000 Subject: [PATCH] Clarifies both the regular expression and the explanation of it, to avoid unintentionally matching other things. (See bz 53483) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673487 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 3f372737c8..73c05bfc00 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -904,13 +904,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 @@ -935,7 +935,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> -- 2.40.0