1 # Configuration file for Apache running on Travis.
2 # HHVM 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 # Configure Apache for HHVM FastCGI.
19 # See https://github.com/facebook/hhvm/wiki/fastcgi
20 <IfModule mod_fastcgi.c>
22 SetHandler hhvm-php-extension
25 Action hhvm-php-extension /hhvm virtual
26 FastCgiExternalServer /hhvm -host 127.0.0.1:9000 -pass-header Authorization -idle-timeout 300
33 <VirtualHost _default_:443>
35 DocumentRoot %TRAVIS_BUILD_DIR%
37 ErrorLog "%TRAVIS_BUILD_DIR%/apache_error.log"
38 CustomLog "%TRAVIS_BUILD_DIR%/apache_access.log" combined
40 <Directory "%TRAVIS_BUILD_DIR%">
41 Options FollowSymLinks MultiViews ExecCGI
47 # Configure Apache for HHVM FastCGI.
48 # See https://github.com/facebook/hhvm/wiki/fastcgi
49 <IfModule mod_fastcgi.c>
51 SetHandler hhvm-php-extension
54 Action hhvm-php-extension /hhvm virtual
55 #FastCgiExternalServer /hhvm -host 127.0.0.1:9000 -pass-header Authorization -idle-timeout 300
59 # This cert is bundled by default in Ubuntu
60 SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
61 SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
63 <FilesMatch "\.(cgi|shtml|phtml|php)$">
64 SSLOptions +StdEnvVars
67 BrowserMatch "MSIE [2-6]" \
68 nokeepalive ssl-unclean-shutdown \
69 downgrade-1.0 force-response-1.0
70 BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown