]> git.pld-linux.org Git - packages/apache.git/commitdiff
.htaccess is protected from apache-common.conf
authorElan Ruusamäe <glen@delfi.ee>
Wed, 11 Nov 2015 13:29:12 +0000 (15:29 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 11 Nov 2015 13:29:12 +0000 (15:29 +0200)
apache-mod_authz_host.conf

index 5d3b4b89dc424d0be26d22ecfb15201196961d3d..e1a022f32cfcfeb6bf1900ad260b90e1db1bfcd6 100644 (file)
@@ -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>
This page took 0.11129 seconds and 4 git commands to generate.