add extra configuration for Apache + PHP-FPM, fixes #482
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<IfModule mod_fastcgi.c>
|
||||
FastCgiWrapper /usr/lib/apache2/suexec
|
||||
FastCgiIpcDir /var/run/apache2/
|
||||
|
||||
<Location "/fastcgiphp">
|
||||
Order Deny,Allow
|
||||
Deny from All
|
||||
# Prevent accessing this path directly
|
||||
Allow from env=REDIRECT_STATUS
|
||||
</Location>
|
||||
</IfModule>
|
||||
@@ -0,0 +1,11 @@
|
||||
<IfModule mod_fastcgi.c>
|
||||
FastCgiWrapper /usr/sbin/suexec
|
||||
FastCgiIpcDir /var/run/apache2/
|
||||
|
||||
<Location "/fastcgiphp">
|
||||
Order Deny,Allow
|
||||
Deny from All
|
||||
# Prevent accessing this path directly
|
||||
Allow from env=REDIRECT_STATUS
|
||||
</Location>
|
||||
</IfModule>
|
||||
@@ -0,0 +1,11 @@
|
||||
<IfModule mod_fastcgi.c>
|
||||
FastCgiWrapper /usr/lib/apache2/suexec
|
||||
FastCgiIpcDir /var/run/apache2/
|
||||
|
||||
<Location "/fastcgiphp">
|
||||
Order Deny,Allow
|
||||
Deny from All
|
||||
# Prevent accessing this path directly
|
||||
Allow from env=REDIRECT_STATUS
|
||||
</Location>
|
||||
</IfModule>
|
||||
@@ -0,0 +1,11 @@
|
||||
<IfModule mod_fastcgi.c>
|
||||
FastCgiWrapper /usr/lib/apache2/suexec
|
||||
FastCgiIpcDir /var/run/apache2/
|
||||
|
||||
<Location "/fastcgiphp">
|
||||
Order Deny,Allow
|
||||
Deny from All
|
||||
# Prevent accessing this path directly
|
||||
Allow from env=REDIRECT_STATUS
|
||||
</Location>
|
||||
</IfModule>
|
||||
Reference in New Issue
Block a user