Commit 1e5f8928 authored by Eric Covener's avatar Eric Covener
Browse files

emphasize sub-directory behavior, mention limitation of end-of-line ($) char.

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
parent 934e31cf
Loading
Loading
Loading
Loading
+6 −1
Changes for docs/manual/mod/core.xml: 6 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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
+1 −1
Changes for docs/manual/sections.xml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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 />