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:19:57 UTC
svn commit: r1673487 - /httpd/httpd/trunk/docs/manual/mod/core.xml
Author: rbowen
Date: Tue Apr 14 18:19:57 2015
New Revision: 1673487
URL: http://svn.apache.org/r1673487
Log:
Clarifies both the regular expression and the explanation of it, to
avoid unintentionally matching other things. (See bz 53483)
Modified:
httpd/httpd/trunk/docs/manual/mod/core.xml
Modified: httpd/httpd/trunk/docs/manual/mod/core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml?rev=1673487&r1=1673486&r2=1673487&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.xml Tue Apr 14 18:19:57 2015
@@ -904,13 +904,13 @@ the contents of file-system directories
<glossary ref="regex">regular expression</glossary>. For example:</p>
<highlight language="config">
-<DirectoryMatch "^/www/(.+/)?[0-9]{3}">
+<DirectoryMatch "^/www/(.+/)?[0-9]{3}/">
# ...
</DirectoryMatch>
</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
<highlight language="config">
<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>
</highlight>
</usage>