]> git.pld-linux.org Git - packages/php-pecl-memcache.git/commitdiff
apache 1.3-2.4 comptible config
authorElan Ruusamäe <glen@delfi.ee>
Tue, 21 Apr 2015 13:38:06 +0000 (16:38 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 21 Apr 2015 13:38:06 +0000 (16:38 +0300)
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.08995 seconds and 4 git commands to generate.