[packages/apache] - fix for 2.4 (we want it to be denied)

arekm arekm at pld-linux.org
Fri Oct 2 23:49:49 CEST 2015


commit 72c3b9e2561a06fb80df1bae6de79db7296586f2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Oct 2 23:49:43 2015 +0200

    - fix for 2.4 (we want it to be denied)

 apache-mod_authz_host.conf | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/apache-mod_authz_host.conf b/apache-mod_authz_host.conf
index 5391967..5d3b4b8 100644
--- a/apache-mod_authz_host.conf
+++ b/apache-mod_authz_host.conf
@@ -5,10 +5,12 @@ LoadModule authz_host_module modules/mod_authz_host.so
 #
 <IfModule authz_host_module>
 	<FilesMatch "^\.ht">
-		Require all denied
+		<IfModule mod_authz_host.c>
+			Require all denied
+		</IfModule>
 		<IfModule mod_access_compat.c>
 			Order allow,deny
-			Allow from all
+			Deny from all
 		</IfModule>
 	</FilesMatch>
 </IfModule>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apache.git/commitdiff/72c3b9e2561a06fb80df1bae6de79db7296586f2



More information about the pld-cvs-commit mailing list