From aaca203059c5ff1f225af571dae8560e2330115d Mon Sep 17 00:00:00 2001 From: Till Brehm Date: Tue, 2 Aug 2016 19:11:20 +0200 Subject: [PATCH] Changed apache mod_proxy_fcgi configuration in vhost.conf.master from ProxyPassMatch to SetHandler so we can wrap the config directive it into to avoid side affects with globally installed applications like phpmyadmin and roundcube. --- server/conf/vhost.conf.master | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master index 442d630b4..ed591c9e4 100644 --- a/server/conf/vhost.conf.master +++ b/server/conf/vhost.conf.master @@ -358,10 +358,20 @@ - ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ fcgi://127.0.0.1:/$1 + #ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ fcgi://127.0.0.1:/$1 + + + SetHandler "proxy:fcgi://127.0.0.1:" + + - ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ unix://|fcgi://localhost//$1 + #ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ unix://|fcgi://localhost//$1 + + + SetHandler "proxy:unix:|fcgi://localhost" + + -- GitLab