]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add examples of <Files ...> that don't involve regex.
authorDaniel Gruno <humbedooh@apache.org>
Wed, 4 Jul 2012 08:30:37 +0000 (08:30 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Wed, 4 Jul 2012 08:30:37 +0000 (08:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1357167 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.xml

index dc7b02eeb0cb5ed7991dc17689a9b00f6359c84d..d7a6699de753556cb40c49248fe8ea3a1b898459 100644 (file)
@@ -1657,6 +1657,15 @@ filenames</description>
     <p>The <var>filename</var> argument should include a filename, or
     a wild-card string, where <code>?</code> matches any single character,
     and <code>*</code> matches any sequences of characters.
+    <highlight language="config">
+&lt;Files "cat.html"&gt;
+    # Insert stuff that applies to cat.html here
+&lt;/Files&gt;
+
+&lt;Files "?at.*"&gt;
+    # This would apply to cat.html, bat.html, hat.php and so on.
+&lt;/Files&gt;
+</highlight>
     <glossary ref="regex">Regular expressions</glossary>
     can also be used, with the addition of the
     <code>~</code> character. For example:</p>