From: Daniel Gruno Date: Sat, 7 Jul 2012 07:37:02 +0000 (+0000) Subject: Backport(ish) r1357167/r1357168 from trunk. X-Git-Tag: 2.2.23~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ded210f8fa5519daca952b49555a315c5304ccfc;p=thirdparty%2Fapache%2Fhttpd.git Backport(ish) r1357167/r1357168 from trunk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1358517 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index aa6edb92ef1..ae57eae0229 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -1262,7 +1262,16 @@ filenames

The filename argument should include a filename, or a wild-card string, where ? matches any single character, - and * matches any sequences of characters. + and * matches any sequences of characters:

+
<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>
+ +

Regular expressions can also be used, with the addition of the ~ character. For example: