From 65f8a6963838b3efca5bec9012151ca434ae885a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=CC=81=20Zwinge?= Date: Tue, 4 Mar 2014 16:06:09 +0100 Subject: [PATCH] Apache 000-default.conf points to /var/www/html. Add line with search and replace to remove the html in this path. Now the symlink is correct with the /var/www --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 67d13ce..618e896 100755 --- a/install.sh +++ b/install.sh @@ -46,6 +46,7 @@ sed -i "s/error_reporting = .*/error_reporting = E_ALL/" /etc/php5/apache2/php.i sed -i "s/display_errors = .*/display_errors = On/" /etc/php5/apache2/php.ini sed -i 's/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf +sed -i 's/html//' /etc/apache2/sites-available/000-default.conf echo "--- Restarting Apache ---" sudo service apache2 restart