You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/07/04 10:30:38 UTC
svn commit: r1357167 - /httpd/httpd/trunk/docs/manual/mod/core.xml
Author: humbedooh
Date: Wed Jul 4 08:30:37 2012
New Revision: 1357167
URL: http://svn.apache.org/viewvc?rev=1357167&view=rev
Log:
Add examples of <Files ...> that don't involve regex.
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=1357167&r1=1357166&r2=1357167&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.xml Wed Jul 4 08:30:37 2012
@@ -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">
+<Files "cat.html">
+ # Insert stuff that applies to cat.html here
+</Files>
+
+<Files "?at.*">
+ # This would apply to cat.html, bat.html, hat.php and so on.
+</Files>
+</highlight>
<glossary ref="regex">Regular expressions</glossary>
can also be used, with the addition of the
<code>~</code> character. For example:</p>