]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Changed "Files ~" to "FilesMatch" in the config files. People seem to
authorRich Bowen <rbowen@apache.org>
Thu, 16 Jun 2005 12:40:37 +0000 (12:40 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 16 Jun 2005 12:40:37 +0000 (12:40 +0000)
have a hard time noticing the ~ in there, which then leads to confusion
about how Files works.

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

docs/conf/httpd-std.conf.in
docs/conf/httpd-win.conf
docs/conf/ssl-std.conf.in

index 3f791e826a1052047c12ba5e7ee01392924f87fe..3d2cb2e7b358c82a65414878dbf2a03f86320d13 100644 (file)
@@ -405,10 +405,10 @@ AccessFileName .htaccess
 # The following lines prevent .htaccess and .htpasswd files from being 
 # viewed by Web clients. 
 #
-<Files ~ "^\.ht">
+<FilesMatch "^\.ht">
     Order allow,deny
     Deny from all
-</Files>
+</FilesMatch>
 
 #
 # TypesConfig describes where the mime.types file (or equivalent) is
index aee7dd346b9fb37ee64690e89e22f1e57e089385..a4405d6549cd1477f7ceba8fda3cb069081f9cf6 100644 (file)
@@ -331,10 +331,10 @@ AccessFileName .htaccess
 # The following lines prevent .htaccess and .htpasswd files from being 
 # viewed by Web clients. 
 #
-<Files ~ "^\.ht">
+<FilesMatch "^\.ht">
     Order allow,deny
     Deny from all
-</Files>
+</FilesMatch>
 
 #
 # TypesConfig describes where the mime.types file (or equivalent) is
index 748f60c64308777bd513f1ed06dcb9027c4ade62..7547399cceff416c403c966d0351a3af71977f74 100644 (file)
@@ -200,9 +200,9 @@ SSLCertificateKeyFile @exp_sysconfdir@/ssl.key/server.key
 #     This enables optimized SSL connection renegotiation handling when SSL
 #     directives are used in per-directory context. 
 #SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire
-<Files ~ "\.(cgi|shtml|phtml|php3?)$">
+<FilesMatch "\.(cgi|shtml|phtml|php3?)$">
     SSLOptions +StdEnvVars
-</Files>
+</FilesMatch>
 <Directory "@exp_cgidir@">
     SSLOptions +StdEnvVars
 </Directory>