commit 0be655432bc07970978727a486fac456fd4853e4
Author: Elan Ruusamäe <g...@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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to