1 # Configuration file for Apache running on Travis.
2 # PHP setup in FCGI mode
6 DocumentRoot %TRAVIS_BUILD_DIR%
8 ErrorLog "%TRAVIS_BUILD_DIR%/apache_error.log"
9 CustomLog "%TRAVIS_BUILD_DIR%/apache_access.log" combined
11 <Directory "%TRAVIS_BUILD_DIR%">
12 Options FollowSymLinks MultiViews ExecCGI
18 # Wire up Apache to use Travis CI's php-fpm.
19 <IfModule mod_fastcgi.c>
20 AddHandler php5-fcgi .php
21 Action php5-fcgi /php5-fcgi
22 Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
23 FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
30 <VirtualHost _default_:443>
32 DocumentRoot %TRAVIS_BUILD_DIR%
34 ErrorLog "%TRAVIS_BUILD_DIR%/apache_error.log"
35 CustomLog "%TRAVIS_BUILD_DIR%/apache_access.log" combined
37 <Directory "%TRAVIS_BUILD_DIR%">
38 Options FollowSymLinks MultiViews ExecCGI
44 # Wire up Apache to use Travis CI's php-fpm.
45 <IfModule mod_fastcgi.c>
46 AddHandler php5-fcgi .php
47 Action php5-fcgi /php5-fcgi
48 Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
49 #FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
53 # This cert is bundled by default in Ubuntu
54 SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
55 SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
57 <FilesMatch "\.(cgi|shtml|phtml|php)$">
58 SSLOptions +StdEnvVars
61 BrowserMatch "MSIE [2-6]" \
62 nokeepalive ssl-unclean-shutdown \
63 downgrade-1.0 force-response-1.0
64 BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown