]> granicus.if.org Git - apache/commitdiff
Clarify DirectoryMatch example. (bz 53483)
authorRich Bowen <rbowen@apache.org>
Tue, 14 Apr 2015 18:25:33 +0000 (18:25 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 14 Apr 2015 18:25:33 +0000 (18:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1673489 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.xml

index 1781ad6587af048fcbd392b6cac3d505ef0ab7b8..0f2690d396c7ed22b3d564768a564e275be4cf76 100644 (file)
@@ -858,13 +858,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
@@ -889,7 +889,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>