From: Richard 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-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bee35c169fb8b3404e3a8a1ad818739b65106d24;p=thirdparty%2Fapache%2Fhttpd.git
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 3f372737c8a..73c05bfc004 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>