[packages/apache/APACHE_2_2] 2.4 way

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


commit 7248d7f93747ae1382abec030026da4a4689fa52
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Oct 2 23:46:45 2015 +0200

    2.4 way

 apache-mod_authz_host.conf | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/apache-mod_authz_host.conf b/apache-mod_authz_host.conf
index 65350d6..898c434 100644
--- a/apache-mod_authz_host.conf
+++ b/apache-mod_authz_host.conf
@@ -6,7 +6,12 @@ LoadModule authz_host_module modules/mod_authz_host.so
 #
 <IfModule authz_host_module>
 	<FilesMatch "^\.ht">
-		Order allow,deny
-		Deny from all
+		<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/7248d7f93747ae1382abec030026da4a4689fa52



More information about the pld-cvs-commit mailing list