Guest User

Untitled

a guest
May 27th, 2014
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName scribble-test.de
  3.  
  4. DocumentRoot /scribble/www/de.scribble-test/web/
  5. <Directory /scribble/www/de.scribble-test/web/>
  6. AllowOverride All
  7. Require all granted
  8. </Directory>
  9.  
  10. # TODO logrotate this.
  11. CustomLog /scribble/www/de.scribble-test/log/apache_access.log combined
  12. ErrorLog /scribble/www/de.scribble-test/log/apache_error.log
  13.  
  14. <FilesMatch \.php$>
  15. SetHandler hhvm-php-extension
  16. </FilesMatch>
  17. <FilesMatch \.hh$>
  18. SetHandler hhvm-hack-extension
  19. </FilesMatch>
  20.  
  21. Alias /hhvm /hhvm
  22. Action hhvm-php-extension /hhvm virtual
  23. Action hhvm-hack-extension /hhvm virtual
  24.  
  25. FastCgiExternalServer /hhvm -socket /scribble/www/de.scribble-test/hhvm.sock -pass-header Authorization -idle-timeout 300
  26.  
  27. <Location /hhvm>
  28. Require all granted
  29. </Location>
  30. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment