Commit 3698bb4e authored by Richard Bowen's avatar Richard Bowen
Browse files

Changed "Files ~" to "FilesMatch" in the config files. People seem to

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
parent ab037461
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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>