You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2015/04/14 20:25:33 UTC

svn commit: r1673489 - /httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml

Author: rbowen
Date: Tue Apr 14 18:25:33 2015
New Revision: 1673489

URL: http://svn.apache.org/r1673489
Log:
Clarify DirectoryMatch example. (bz 53483)

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml?rev=1673489&r1=1673488&r2=1673489&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml Tue Apr 14 18:25:33 2015
@@ -858,13 +858,13 @@ the contents of file-system directories
     <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
 
 <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>