You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2005/06/16 14:40:39 UTC
svn commit: r190904 - in /httpd/httpd/branches/2.0.x/docs/conf:
httpd-std.conf.in httpd-win.conf ssl-std.conf.in
Author: rbowen
Date: Thu Jun 16 05:40:37 2005
New Revision: 190904
URL: http://svn.apache.org/viewcvs?rev=190904&view=rev
Log:
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.
Modified:
httpd/httpd/branches/2.0.x/docs/conf/httpd-std.conf.in
httpd/httpd/branches/2.0.x/docs/conf/httpd-win.conf
httpd/httpd/branches/2.0.x/docs/conf/ssl-std.conf.in
Modified: httpd/httpd/branches/2.0.x/docs/conf/httpd-std.conf.in
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/docs/conf/httpd-std.conf.in?rev=190904&r1=190903&r2=190904&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/conf/httpd-std.conf.in (original)
+++ httpd/httpd/branches/2.0.x/docs/conf/httpd-std.conf.in Thu Jun 16 05:40:37 2005
@@ -405,10 +405,10 @@
# 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
Modified: httpd/httpd/branches/2.0.x/docs/conf/httpd-win.conf
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/docs/conf/httpd-win.conf?rev=190904&r1=190903&r2=190904&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/conf/httpd-win.conf (original)
+++ httpd/httpd/branches/2.0.x/docs/conf/httpd-win.conf Thu Jun 16 05:40:37 2005
@@ -331,10 +331,10 @@
# 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
Modified: httpd/httpd/branches/2.0.x/docs/conf/ssl-std.conf.in
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/docs/conf/ssl-std.conf.in?rev=190904&r1=190903&r2=190904&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/conf/ssl-std.conf.in (original)
+++ httpd/httpd/branches/2.0.x/docs/conf/ssl-std.conf.in Thu Jun 16 05:40:37 2005
@@ -200,9 +200,9 @@
# 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>