]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
As reported in bug ID 32635, the regex was not quite what it promised to
authorRich Bowen <rbowen@apache.org>
Fri, 24 Dec 2004 19:29:15 +0000 (19:29 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 24 Dec 2004 19:29:15 +0000 (19:29 +0000)
be. Thanks to dc@duke.edu

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@123298 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.html.en
docs/manual/mod/core.xml

index a0dbcd7e1a5903d603c0a8d3517903b0ff5d1ec4..9bd3835e558f2b4bca0d616ea556001921ef49ba 100644 (file)
@@ -740,7 +740,7 @@ subdirectories</td></tr>
     takes as an argument a regular expression. For example:</p>
 
     <div class="example"><p><code>
-      &lt;DirectoryMatch "^/www/.*/[0-9]{3}"&gt;
+      &lt;DirectoryMatch "^/www/(.+/)?[0-9]{3}"&gt;
     </code></p></div>
 
     <p>would match directories in <code>/www/</code> that consisted of three
index 6afa3e9359d42fb830416e5e2bb7ded0347c6384..7e0f6e8953170fe873e4bef4f78e389b81aaa413 100644 (file)
@@ -694,7 +694,7 @@ subdirectories</description>
     takes as an argument a regular expression. For example:</p>
 
     <example>
-      &lt;DirectoryMatch "^/www/.*/[0-9]{3}"&gt;
+      &lt;DirectoryMatch "^/www/(.+/)?[0-9]{3}"&gt;
     </example>
 
     <p>would match directories in <code>/www/</code> that consisted of three