2020-03-04 22:43:09 +01:00
|
|
|
<VirtualHost *:80>
|
|
|
|
# https://docs.travis-ci.com/user/languages/php/#apache--php
|
|
|
|
|
|
|
|
DocumentRoot %TRAVIS_BUILD_DIR%
|
|
|
|
|
|
|
|
# tests assume EGroupware to be under /egroupware not docroot
|
|
|
|
Alias /egroupware %TRAVIS_BUILD_DIR%
|
|
|
|
|
|
|
|
<Directory "%TRAVIS_BUILD_DIR%/">
|
|
|
|
Options FollowSymLinks MultiViews ExecCGI
|
|
|
|
AllowOverride All
|
|
|
|
Require all granted
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
# Wire up Apache to use Travis CI's php-fpm.
|
|
|
|
<IfModule mod_fastcgi.c>
|
2020-03-04 23:27:46 +01:00
|
|
|
AddHandler php7-fcgi .php
|
|
|
|
Action php7-fcgi /php7-fcgi
|
|
|
|
Alias /php7-fcgi /usr/lib/cgi-bin/php7-fcgi
|
|
|
|
FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -host 127.0.0.1:9000 -pass-header Authorization
|
2020-03-04 22:43:09 +01:00
|
|
|
|
|
|
|
<Directory /usr/lib/cgi-bin>
|
|
|
|
Require all granted
|
|
|
|
</Directory>
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
</VirtualHost>
|