]> git.pld-linux.org Git - packages/apache-php-fcgi.git/commitdiff
make apache config apache 2.4 compatible
authorElan Ruusamäe <glen@delfi.ee>
Tue, 26 May 2015 16:06:37 +0000 (19:06 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 26 May 2015 16:06:37 +0000 (19:06 +0300)
apache.conf

index e25d256ae63aab3c8541bf48556018ccfa110b7f..d8da277778b6baa63fce9a69a9c534ee098c1744 100644 (file)
@@ -5,7 +5,15 @@
        ScriptAlias /php-fcgi /usr/bin/php56.fcgi
        <Location "/php-fcgi">
                SetHandler fastcgi-script
-               Allow from all
+               # Apache 2.x
+               <IfModule !mod_authz_core.c>
+                       Order allow,deny
+                       Allow from all
+               </IfModule>
+               # Apache 2.4
+               <IfModule mod_authz_core.c>
+                       Require all granted
+               </IfModule>
        </Location>
 
        Action application/x-httpd-php-fcgi /php-fcgi
This page took 0.173143 seconds and 4 git commands to generate.