Skip to content

Commit 7c7d49f

Browse files
author
Marius Cramer
committed
Merge branch 'master' into 'master'
Added Hack language
2 parents 6ffc751 + 8edabf6 commit 7c7d49f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

server/conf/vhost.conf.master

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,14 @@
333333
</tmpl_if>
334334
</Directory>
335335
<FilesMatch "\.php[345]?$">
336-
SetHandler php5-fcgi
336+
SetHandler hhvm-fcgi
337337
</FilesMatch>
338-
Action php5-fcgi /php5-fcgi virtual
339-
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'}
340-
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
338+
<FilesMatch "\.hh$">
339+
SetHandler hhvm-fcgi
340+
</FilesMatch>
341+
Action hhvm-fcgi /hhvm-fcgi virtual
342+
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'}
343+
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
341344
</IfModule>
342345
</tmpl_if>
343346

0 commit comments

Comments
 (0)