Skip to content

Commit 7cc998b

Browse files
committed
add apache config for travis
1 parent ddcb2bc commit 7cc998b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.travis/travis-ci-apache

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<VirtualHost *:80>
2+
# [...]
3+
4+
<Directory "%TRAVIS_BUILD_DIR%">
5+
Options FollowSymLinks MultiViews ExecCGI
6+
AllowOverride All
7+
Order deny,allow
8+
Allow from all
9+
Require all granted
10+
</Directory>
11+
12+
# Wire up Apache to use Travis CI's php-fpm.
13+
<IfModule mod_fastcgi.c>
14+
<Directory /usr/lib/cgi-bin>
15+
Require all granted
16+
</Directory>
17+
AddHandler php5-fcgi .php
18+
Action php5-fcgi /php5-fcgi
19+
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
20+
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
21+
</IfModule>
22+
23+
ServerName magento-2-travis.test
24+
ServerAlias www.magento-2-travis.test
25+
DocumentRoot %TRAVIS_BUILD_DIR%/magento2/pub
26+
27+
28+
# [...]
29+
</VirtualHost>

0 commit comments

Comments
 (0)