diff options
Diffstat (limited to 'tests/travis/travis-ci-apache-hhvm.conf')
-rw-r--r-- | tests/travis/travis-ci-apache-hhvm.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/travis/travis-ci-apache-hhvm.conf b/tests/travis/travis-ci-apache-hhvm.conf new file mode 100644 index 000000000..dbfbfae2c --- /dev/null +++ b/tests/travis/travis-ci-apache-hhvm.conf @@ -0,0 +1,25 @@ +<VirtualHost *:80> + + DocumentRoot %TRAVIS_BUILD_DIR% + + <Directory "%TRAVIS_BUILD_DIR%"> + Options FollowSymLinks MultiViews ExecCGI + AllowOverride All + Order deny,allow + Allow from all + </Directory> + + # Configure Apache for HHVM FastCGI. + # See https://github.com/facebook/hhvm/wiki/fastcgi. + <IfModule mod_fastcgi.c> + <FilesMatch \.php$> + SetHandler hhvm-php-extension + </FilesMatch> + + Alias /hhvm /hhvm + Action hhvm-php-extension /hhvm virtual + + FastCgiExternalServer /hhvm -host 127.0.0.1:9000 -pass-header Authorization -idle-timeout 300 + </IfModule> + +</VirtualHost> |