Move travis config in a subdir of tests; enable debug to help with travis/php5.6
[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   <Directory "%TRAVIS_BUILD_DIR%">
9     Options FollowSymLinks MultiViews ExecCGI
10     AllowOverride All
11     Order deny,allow
12     Allow from all
13   </Directory>
14
15   # Configure Apache for HHVM FastCGI.
16   # See https://github.com/facebook/hhvm/wiki/fastcgi
17   <IfModule mod_fastcgi.c>
18     <FilesMatch \.php$>
19       SetHandler hhvm-php-extension
20     </FilesMatch>
21     Alias /hhvm /hhvm
22     Action hhvm-php-extension /hhvm virtual
23     FastCgiExternalServer /hhvm -host 127.0.0.1:9000 -pass-header Authorization -idle-timeout 300
24   </IfModule>
25
26 </VirtualHost>