]> git.pld-linux.org Git - packages/graphite-web.git/commitdiff
use apache 2.2/2.4 compatible config master
authorElan Ruusamäe <glen@delfi.ee>
Thu, 3 Dec 2015 20:03:59 +0000 (22:03 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 3 Dec 2015 20:04:39 +0000 (22:04 +0200)
see:
https://www.pld-linux.org/packages/apache#apache_22_and_24_compatible_configs

apache.conf

index 011c418ed0ade9da6ce2359f77bef627439eda85..28de647abe572fd13ea2ddefdd49ce00d2591b02 100644 (file)
        </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>
This page took 0.069008 seconds and 4 git commands to generate.