26f70feb0a74ccde5069c72b224ac637b92c6bc5
[plcapi.git] / tests / ci / travis / apache_vhost
1 # Configuration file for Apache running on Travis.
2 # PHP 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   # Wire up Apache to use Travis CI's php-fpm.
16   <IfModule mod_fastcgi.c>
17     AddHandler php5-fcgi .php
18     Action php5-fcgi /php5-fcgi
19     Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
20     FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
21   </IfModule>
22
23 </VirtualHost>