From: Rich Bowen
Date: Tue, 14 Apr 2015 18:19:57 +0000 (+0000)
Subject: Clarifies both the regular expression and the explanation of it, to
X-Git-Tag: 2.5.0-alpha~3310
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7f9be5468a39c10e8cbd55a03ee7edea17ca8ae;p=apache
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
---
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>