From 6ffc751467f34cd14d0636ee02a5888bdd4b7df5 Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Wed, 30 Apr 2014 13:39:02 -0400
Subject: [PATCH] Added "virtual" modifier to Action directive in apache vhost. @see http://httpd.apache.org/docs/2.2/en/mod/mod_actions.html#action
---
server/conf/vhost.conf.master | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master
index 07f7a4a..a99e0a0 100644
--- a/server/conf/vhost.conf.master
+++ b/server/conf/vhost.conf.master
@@ -311,7 +311,7 @@
<FilesMatch "\.php[345]?$">
SetHandler php5-fcgi
</FilesMatch>
- Action php5-fcgi /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'}
<tmpl_if name='use_tcp'>
FastCgiExternalServer {tmpl_var name='document_root'}/cgi-bin/php5-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'} -idle-timeout 300 -host 127.0.0.1:<tmpl_var name='fpm_port'> -pass-header Authorization
@@ -335,7 +335,7 @@
<FilesMatch "\.php[345]?$">
SetHandler php5-fcgi
</FilesMatch>
- Action php5-fcgi /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'}
FastCgiExternalServer {tmpl_var name='document_root'}/cgi-bin/php5-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'} -idle-timeout 300 -socket /var/run/hhvm/hhvm.<tmpl_var name='system_user'>.sock -pass-header Authorization
</IfModule>
--
Gitblit v1.9.1