]> git.pld-linux.org Git - packages/php-pecl-memcache.git/blobdiff - memcache-apache.conf
php 5.2 deps
[packages/php-pecl-memcache.git] / memcache-apache.conf
index cf39b06a7029dc7899cc819889b4b6c9b531bde7..a4474b62800f7a12b35a2d3e941e87c6814a5825 100644 (file)
@@ -1,9 +1,17 @@
 Alias /memcache.php /usr/share/memcache/memcache.php
 
-<Directory /usr/share/xcache>
+<Directory /usr/share/memcache>
        # Allow from localhost only.
        # IMPORTANT: if you allow from elsewhere, be sure to change admin
        # username/password in config.php otherwise you make your page password easily
        # guessable.
-       Allow from 127.0.0.1
+
+       # Apache < 2.4
+       <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.048855 seconds and 4 git commands to generate.