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