From d936d48cb49fd8aa6429c5a84812d7544df5fcf6 Mon Sep 17 00:00:00 2001 From: Julio Date: Thu, 19 Dec 2019 15:23:40 +0100 Subject: [PATCH] Travis: fix vhost --- tests/travis/setup-apache.sh | 1 - tests/travis/travis-apache | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/travis/setup-apache.sh b/tests/travis/setup-apache.sh index daba3561fa..39648fc7f5 100644 --- a/tests/travis/setup-apache.sh +++ b/tests/travis/setup-apache.sh @@ -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 diff --git a/tests/travis/travis-apache b/tests/travis/travis-apache index 36858ecd7f..aa5aa8e371 100644 --- a/tests/travis/travis-apache +++ b/tests/travis/travis-apache @@ -1,6 +1,6 @@ DocumentRoot %TRAVIS_BUILD_DIR%/public - ServerName %VHOST_URL% + ServerName localhost Options Indexes FollowSymLinks