commit d48a00fd323f4b87782fe8c9dce5f7d7a54a2036
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Apr 29 09:35:01 2014 +0300

    support multiple apache versions

 apache.conf | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/apache.conf b/apache.conf
index 316b5f7..d32839b 100644
--- a/apache.conf
+++ b/apache.conf
@@ -1,5 +1,12 @@
 Alias /eaccelerator /usr/share/eaccelerator
 <Directory /usr/share/eaccelerator/>
-       Order allow,deny
-       Allow from 127.0.0.1
+       # Apache 2.x
+       <IfModule !mod_authz_core.c>
+               Order allow,deny
+               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-eaccelerator.git/commitdiff/d48a00fd323f4b87782fe8c9dce5f7d7a54a2036

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to