]> git.pld-linux.org Git - packages/php-xcache.git/blobdiff - xcache-apache.conf
multi apache version config
[packages/php-xcache.git] / xcache-apache.conf
index aa3e788bb72c610ecd08ed5d722593b6e8478ec0..bb6ad4d5b14a68c71b6d42785dde1762f4326f0c 100644 (file)
@@ -5,5 +5,12 @@
 
 Alias /xcache /usr/share/xcache
 <Directory /usr/share/xcache>
-       Allow from 127.0.0.1
+       # Apache 2.x
+       <IfModule !mod_authz_core.c>
+               Allow from 127.0.0.1
+       </IfModule>
+       # Apache 2.4
+       <IfModule mod_authz_core.c>
+               Require local
+       </IfModule>
 </Directory>
This page took 0.085934 seconds and 4 git commands to generate.