From c04e793d51fe34780247f8eda799a7003bb23ed3 Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Wed, 30 Apr 2014 14:11:03 -0400
Subject: [PATCH] Added hh extension to allow use of hack language

---
 server/conf/vhost.conf.master |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master
index 07f7a4a..0c0dd92 100644
--- a/server/conf/vhost.conf.master
+++ b/server/conf/vhost.conf.master
@@ -333,11 +333,14 @@
 					</tmpl_if>
 			    </Directory>
 				<FilesMatch "\.php[345]?$">
-					SetHandler php5-fcgi
+					SetHandler hhvm-fcgi
 				</FilesMatch>
-                Action php5-fcgi /php5-fcgi
-				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
+				<FilesMatch "\.hh$">
+					SetHandler hhvm-fcgi
+				</FilesMatch>
+                Action hhvm-fcgi /hhvm-fcgi
+				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.<tmpl_var name='system_user'>.sock -pass-header Authorization
 		</IfModule>
 </tmpl_if>
 

--
Gitblit v1.9.1