commit 8d64dd343230de0885cb0357359e34a924b5b514
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Dec 3 22:03:59 2015 +0200

    use apache 2.2/2.4 compatible config
    
    see:
    
https://www.pld-linux.org/packages/apache#apache_22_and_24_compatible_configs

 apache.conf | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/apache.conf b/apache.conf
index 011c418..28de647 100644
--- a/apache.conf
+++ b/apache.conf
@@ -21,13 +21,14 @@
        </Location>
 </VirtualHost>
 
-# Apache 2.2
-# <Directory /usr/share/graphite>
-#      Allow from all
-# </Directory>
-
-# Apache 2.4
 <Directory /usr/share/graphite>
-    Require all granted
-    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>
 </Directory>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/graphite-web.git/commitdiff/8d64dd343230de0885cb0357359e34a924b5b514

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to