]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
emphasize sub-directory behavior, mention limitation of end-of-line ($) char.
authorEric Covener <covener@apache.org>
Fri, 27 Aug 2010 11:00:03 +0000 (11:00 +0000)
committerEric Covener <covener@apache.org>
Fri, 27 Aug 2010 11:00:03 +0000 (11:00 +0000)
avoid example in sections.xml that uses DirectoryMatch with unmatchable $

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

docs/manual/mod/core.xml
docs/manual/sections.xml

index 43971074f0eefbf785171b9ac6cd96a739cceb63..a4fa22d2ea59ff4e84020cdcb53ac8d116a7bf58 100644 (file)
@@ -801,7 +801,7 @@ subdirectories</description>
     <p><directive type="section">DirectoryMatch</directive> and
     <code>&lt;/DirectoryMatch&gt;</code> are used to enclose a group
     of directives which will apply only to the named directory and
-    sub-directories of that directory, the same as <directive
+    <em>sub-directories of that directory</em>, the same as <directive
     module="core" type="section">Directory</directive>. However, it
     takes as an argument a <glossary ref="regex">regular 
     expression</glossary>. For example:</p>
@@ -812,6 +812,11 @@ subdirectories</description>
 
     <p>would match directories in <code>/www/</code> that consisted of three
     numbers.</p>
+
+    <note><title>End-of-line character</title>
+      <p>The end-of-line character ($) cannot be matched with this directive.</p>
+    </note>
+
 </usage>
 <seealso><directive type="section" module="core">Directory</directive> for
 a description of how regular expressions are mixed in with normal
index 1ff37ba668c6ee02aeb86e3cc1b41b6e0872ec46..5bebb83ec6657d0ccd5c79052e8fb08c0d9cd89f 100644 (file)
@@ -481,7 +481,7 @@ B<br />
 &lt;/Directory&gt;<br />
 &lt;/VirtualHost&gt;<br />
 <br />
-&lt;DirectoryMatch "^.*b$"&gt;<br />
+&lt;DirectoryMatch "^.*b/"&gt;<br />
 C<br />
 &lt;/DirectoryMatch&gt;<br />
 <br />