apache.conf 654 B

12345678910111213141516171819202122
  1. <VirtualHost *:80>
  2. DocumentRoot %TRAVIS_BUILD_DIR%/htdocs
  3. ErrorLog /var/log/apache2/travis_error_log
  4. <Directory "%TRAVIS_BUILD_DIR%/htdocs/">
  5. Options FollowSymLinks MultiViews ExecCGI
  6. AllowOverride All
  7. Require all granted
  8. </Directory>
  9. # Wire up Apache to use Travis CI's php-fpm.
  10. <IfModule mod_fastcgi.c>
  11. AddHandler php5-fcgi .php
  12. Action php5-fcgi /php5-fcgi
  13. Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
  14. FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
  15. <Directory /usr/lib/cgi-bin>
  16. Require all granted
  17. </Directory>
  18. </IfModule>
  19. </VirtualHost>