Travis: fix vhost

pull/3064/head
Julio 5 years ago
parent 574b670948
commit d936d48cb4
  1. 1
      tests/travis/setup-apache.sh
  2. 2
      tests/travis/travis-apache

@ -7,7 +7,6 @@ sudo a2enmod rewrite actions fastcgi alias
# Use default config
sudo cp -f tests/travis/travis-apache /etc/apache2/sites-available/000-default.conf
sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/000-default.conf
sudo sed -e "s?%VHOST_URL%?$(pwd)?g" --in-place /etc/apache2/sites-available/000-default.conf
sudo chmod 777 -R $HOME
cat /etc/apache2/sites-available/000-default.conf

@ -1,6 +1,6 @@
<VirtualHost *:80>
DocumentRoot %TRAVIS_BUILD_DIR%/public
ServerName %VHOST_URL%
ServerName localhost
<Directory "%TRAVIS_BUILD_DIR%/public">
Options Indexes FollowSymLinks

Loading…
Cancel
Save