Commit aaca2030 authored by Till Brehm's avatar Till Brehm

Changed apache mod_proxy_fcgi configuration in vhost.conf.master from...

Changed apache mod_proxy_fcgi configuration in vhost.conf.master from ProxyPassMatch to SetHandler so we can wrap the config directive it into <Directory ...> to avoid side affects with globally installed applications like phpmyadmin and roundcube.
parent a90bc7f6
......@@ -358,10 +358,20 @@
</IfModule>
<IfModule mod_proxy_fcgi.c>
<tmpl_if name='use_tcp'>
ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ fcgi://127.0.0.1:<tmpl_var name='fpm_port'><tmpl_var name='web_document_root'>/$1
#ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ fcgi://127.0.0.1:<tmpl_var name='fpm_port'><tmpl_var name='web_document_root'>/$1
<Directory {tmpl_var name='web_document_root'}>
<FilesMatch "\.php[345]?$">
SetHandler "proxy:fcgi://127.0.0.1:<tmpl_var name='fpm_port'>"
</FilesMatch>
</Directory>
</tmpl_if>
<tmpl_if name='use_socket'>
ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ unix://<tmpl_var name='fpm_socket'>|fcgi://localhost/<tmpl_var name='web_document_root'>/$1
#ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ unix://<tmpl_var name='fpm_socket'>|fcgi://localhost/<tmpl_var name='web_document_root'>/$1
<Directory {tmpl_var name='web_document_root'}>
<FilesMatch "\.php[345]?$">
SetHandler "proxy:unix:<tmpl_var name='fpm_socket'>|fcgi://localhost"
</FilesMatch>
</Directory>
</tmpl_if>
</IfModule>
</tmpl_if>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment