]> granicus.if.org Git - apache/commitdiff
Clarifies both the regular expression and the explanation of it, to
authorRich Bowen <rbowen@apache.org>
Tue, 14 Apr 2015 18:19:57 +0000 (18:19 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 14 Apr 2015 18:19:57 +0000 (18:19 +0000)
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

index 3f372737c8afa468259e1bd651c3f5d2de0bbcee..73c05bfc004139ed8e92c772a95ec17120a3ff13 100644 (file)
@@ -904,13 +904,13 @@ the contents of file-system directories matching a regular expression.</descript
     <glossary ref="regex">regular expression</glossary>.  For example:</p>
 
     <highlight language="config">
-&lt;DirectoryMatch "^/www/(.+/)?[0-9]{3}"&gt;
+&lt;DirectoryMatch "^/www/(.+/)?[0-9]{3}/"&gt;
     # ...
 &lt;/DirectoryMatch&gt;
 </highlight>
 
-    <p>would match directories in <code>/www/</code> that consisted of three
-    numbers.</p>
+    <p>matches directories in <code>/www/</code> (or any subdirectory thereof)
+    that consist of three numbers.</p>
 
    <note><title>Compatability</title>
       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.</descript
 
 <highlight language="config">
 &lt;DirectoryMatch ^/var/www/combined/(?&lt;sitename&gt;[^/]+)&gt;
-    require ldap-group cn=%{env:MATCH_SITENAME},ou=combined,o=Example
+    Require ldap-group cn=%{env:MATCH_SITENAME},ou=combined,o=Example
 &lt;/DirectoryMatch&gt;
 </highlight>
 </usage>