From 6f4f6b8068fe541e7fecafc555e78da8d7b76341 Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Sun, 16 Feb 2014 08:33:28 +0100 Subject: [PATCH] Fixed: FS#2757 - PHP-FPM and Subdomains not working right (infinite redirect) WITH SOLUTION --- server/conf/vhost.conf.master | 1 + 1 file changed, 1 insertion(+) diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master index acdf8f4c72..dc4bfc1111 100644 --- a/server/conf/vhost.conf.master +++ b/server/conf/vhost.conf.master @@ -319,6 +319,7 @@ RewriteCond %{HTTP_HOST} <tmpl_var name='rewrite_domain'>$ [NC] <tmpl_if name="rewrite_is_url" op="==" value="n"> RewriteCond %{REQUEST_URI} !^/webdav/ + RewriteCond %{REQUEST_URI} !^/php5-fcgi/ RewriteCond %{REQUEST_URI} !^<tmpl_var name='rewrite_target'> </tmpl_if> RewriteRule ^/(.*)$ <tmpl_var name='rewrite_target'><tmpl_if name="rewrite_add_path" op="==" value="y">$1</tmpl_if> <tmpl_var name='rewrite_type'> -- GitLab