mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 12:34:33 +01:00
27 lines
759 B
Plaintext
27 lines
759 B
Plaintext
<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>
|
|
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
|
|
|
|
<Directory /usr/lib/cgi-bin>
|
|
Require all granted
|
|
</Directory>
|
|
</IfModule>
|
|
|
|
</VirtualHost> |