travis-apache 737 B

1234567891011121314151617181920212223242526
  1. <VirtualHost *:80>
  2. DocumentRoot %TRAVIS_BUILD_DIR%
  3. ServerName %VHOST_URL%
  4. <Directory "%TRAVIS_BUILD_DIR%">
  5. Options Indexes FollowSymLinks
  6. AllowOverride All
  7. Require all granted
  8. </Directory>
  9. #ErrorLog ${APACHE_LOG_DIR}/%VHOST_URL%-error.log
  10. LogLevel notice
  11. #CustomLog ${APACHE_LOG_DIR}/%VHOST_URL%-access.log combined
  12. <IfModule mod_fastcgi.c>
  13. AddHandler php5-fcgi .php
  14. Action php5-fcgi /php5-fcgi
  15. Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
  16. FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
  17. </IfModule>
  18. <Directory /usr/lib/cgi-bin>
  19. Require all granted
  20. </Directory>
  21. </VirtualHost>