]> git.pld-linux.org Git - packages/php-pecl-memcache.git/blobdiff - memcache-apache.conf
apache 1.3-2.4 comptible config
[packages/php-pecl-memcache.git] / memcache-apache.conf
index dbcfcc2e1d299540e65d9d307111afaaea368d47..a4474b62800f7a12b35a2d3e941e87c6814a5825 100644 (file)
@@ -5,5 +5,13 @@ Alias /memcache.php /usr/share/memcache/memcache.php
        # 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.091772 seconds and 4 git commands to generate.