[packages/js-excanvas] apache 2.4 safe

glen glen at pld-linux.org
Mon Feb 3 14:55:47 CET 2014


commit 0be655432bc07970978727a486fac456fd4853e4
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Feb 3 15:55:33 2014 +0200

    apache 2.4 safe

 apache.conf | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/apache.conf b/apache.conf
index 0a3fc10..89dc923 100644
--- a/apache.conf
+++ b/apache.conf
@@ -1,5 +1,13 @@
 Alias /js/excanvas/ /usr/share/excanvas/
 <Directory /usr/share/excanvas>
-	Allow from all
+	# Apache 2.x
+	<IfModule !mod_authz_core.c>
+		Order allow,deny
+		Allow from all
+	</IfModule>
+	# Apache 2.4
+	<IfModule mod_authz_core.c>
+		Require all granted
+	</IfModule>
 	Options +FollowSymLinks
 </Directory>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/js-excanvas.git/commitdiff/0be655432bc07970978727a486fac456fd4853e4



More information about the pld-cvs-commit mailing list