Fix Vhost (Apache2.4)
* fixed fastcgi configuration(changed to be compatible with < 2.4.10) * fixed directory permissions Change-Id: I789d67947b33d05409460c4b26e8c6a595d58694
This commit is contained in:
parent
b764ef6fd2
commit
13c1777dc0
|
@ -38,14 +38,12 @@
|
||||||
|
|
||||||
DocumentRoot <%= @docroot %>
|
DocumentRoot <%= @docroot %>
|
||||||
<Directory <%= @docroot %>/>
|
<Directory <%= @docroot %>/>
|
||||||
Order allow,deny
|
Options -Indexes +FollowSymLinks +MultiViews
|
||||||
Allow from all
|
AllowOverride All
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<IfModule mod_proxy_fcgi.c>
|
<IfModule mod_proxy_fcgi.c>
|
||||||
<FilesMatch \.php$>
|
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000<%= @docroot %>/$1
|
||||||
SetHandler "proxy:fcgi://127.0.0.1:9000"
|
|
||||||
</FilesMatch>
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<IfModule mod_fastcgi.c>
|
<IfModule mod_fastcgi.c>
|
||||||
|
|
Loading…
Reference in New Issue