Display apache logs in travis console
[plcapi.git] / tests / ci / travis / apache_vhost_hhvm
1 # Configuration file for Apache running on Travis.
2 # HHVM setup in FCGI mode
3
4 <VirtualHost *:80>
5
6   DocumentRoot %TRAVIS_BUILD_DIR%
7
8   ErrorLog "%TRAVIS_BUILD_DIR%/apache_error.log"
9   CustomLog "%TRAVIS_BUILD_DIR%/apache_access.log" combined
10
11   <Directory "%TRAVIS_BUILD_DIR%">
12     Options FollowSymLinks MultiViews ExecCGI
13     AllowOverride All
14     Order deny,allow
15     Allow from all
16   </Directory>
17
18   # Configure Apache for HHVM FastCGI.
19   # See https://github.com/facebook/hhvm/wiki/fastcgi
20   <IfModule mod_fastcgi.c>
21     <FilesMatch \.php$>
22       SetHandler hhvm-php-extension
23     </FilesMatch>
24     Alias /hhvm /hhvm
25     Action hhvm-php-extension /hhvm virtual
26     FastCgiExternalServer /hhvm -host 127.0.0.1:9000 -pass-header Authorization -idle-timeout 300
27   </IfModule>
28
29 </VirtualHost>