[Pkg-apache-commits] [SCM] Debian packaging for apache2 (Apache HTTPD 2.x) branch, next, updated. 3548cff2b55ab010002a7211f7be52585285d88d

Stefan Fritsch sf at sfritsch.de
Sat Apr 14 19:19:49 UTC 2012


The following commit has been merged in the next branch:
commit 3548cff2b55ab010002a7211f7be52585285d88d
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Sat Apr 14 21:19:34 2012 +0200

    Use FilesMatch instead of "Files ~"

diff --git a/debian/config-dir/apache2.conf b/debian/config-dir/apache2.conf
index c760089..4b7de3d 100644
--- a/debian/config-dir/apache2.conf
+++ b/debian/config-dir/apache2.conf
@@ -176,12 +176,12 @@ Include ports.conf
 AccessFileName .htaccess
 
 #
-# The following lines prevent .htaccess and .htpasswd files from being 
-# viewed by Web clients. 
+# The following lines prevent .htaccess and .htpasswd files from being
+# viewed by Web clients.
 #
-<Files ~ "^\.ht">
+<FilesMatch "^\.ht">
     Require all denied
-</Files>
+</FilesMatch>
 
 
 

-- 
Debian packaging for apache2 (Apache HTTPD 2.x)



More information about the Pkg-apache-commits mailing list