commit 5ec9059bc60ed7d070f4ccf2af136977653116c6
Author: Elan Ruusamäe <[email protected]>
Date: Tue Apr 21 16:38:06 2015 +0300
apache 1.3-2.4 comptible config
memcache-apache.conf | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/memcache-apache.conf b/memcache-apache.conf
index dbcfcc2..a4474b6 100644
--- a/memcache-apache.conf
+++ b/memcache-apache.conf
@@ -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>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-memcache.git/commitdiff/5ec9059bc60ed7d070f4ccf2af136977653116c6
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit