From 596a609378e2cd23d95b327b10be97867c0b29c5 Mon Sep 17 00:00:00 2001 From: Marius Cramer Date: Mon, 11 Aug 2014 09:05:10 +0200 Subject: [PATCH] - changed hhvm handling to match stable branch (FilesMatch in Directory sections) - added changes from stable accordingly --- server/conf/vhost.conf.master | 47 +++++++++++++++++++++++++---------- 1 file changed, 34 insertions(+), 13 deletions(-) diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master index d6b58aecea..008c8774b9 100644 --- a/server/conf/vhost.conf.master +++ b/server/conf/vhost.conf.master @@ -61,6 +61,10 @@ + # Clear PHP settings of this website + + SetHandler None + Options +FollowSymLinks AllowOverride @@ -89,6 +93,10 @@ + # Clear PHP settings of this website + + SetHandler None + Options +FollowSymLinks AllowOverride @@ -190,10 +198,6 @@ SuexecUserGroup - # Clear PHP settings of this website - - SetHandler None - # mod_php enabled AddType application/x-httpd-php .php .php3 .php4 .php5 @@ -308,9 +312,16 @@ Allow from all - - SetHandler php5-fcgi - + + + SetHandler php5-fcgi + + + + + SetHandler php5-fcgi + + Action php5-fcgi /php5-fcgi virtual Alias /php5-fcgi {tmpl_var name='document_root'}/cgi-bin/php5-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'} @@ -332,12 +343,22 @@ Allow from all - - SetHandler hhvm-fcgi - - - SetHandler hhvm-fcgi - + + + SetHandler hhvm-fcgi + + + SetHandler hhvm-fcgi + + + + + SetHandler hhvm-fcgi + + + SetHandler hhvm-fcgi + + Action hhvm-fcgi /hhvm-fcgi virtual Alias /hhvm-fcgi {tmpl_var name='document_root'}/cgi-bin/hhvm-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'} FastCgiExternalServer {tmpl_var name='document_root'}/cgi-bin/hhvm-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'} -idle-timeout 300 -socket /var/run/hhvm/hhvm..sock -pass-header Authorization -- GitLab