commit 357b4b003b6e3c7812fdd675374b9c3430cfe9d7
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Nov 11 15:29:12 2015 +0200

    .htaccess is protected from apache-common.conf

 apache-mod_authz_host.conf | 15 ---------------
 1 file changed, 15 deletions(-)
---
diff --git a/apache-mod_authz_host.conf b/apache-mod_authz_host.conf
index 5d3b4b8..e1a022f 100644
--- a/apache-mod_authz_host.conf
+++ b/apache-mod_authz_host.conf
@@ -1,16 +1 @@
 LoadModule authz_host_module modules/mod_authz_host.so
-
-# The following lines prevent .htaccess and .htpasswd files from being
-# viewed by Web clients.
-#
-<IfModule authz_host_module>
-       <FilesMatch "^\.ht">
-               <IfModule mod_authz_host.c>
-                       Require all denied
-               </IfModule>
-               <IfModule mod_access_compat.c>
-                       Order allow,deny
-                       Deny from all
-               </IfModule>
-       </FilesMatch>
-</IfModule>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apache.git/commitdiff/357b4b003b6e3c7812fdd675374b9c3430cfe9d7

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to