From 47863937e394d32c51aaecb2b7b91d6c080891f1 Mon Sep 17 00:00:00 2001 From: bprieshof Date: Wed, 3 Oct 2018 13:18:12 +0200 Subject: [PATCH] Update 'Apache-Installer.sh' --- Apache-Installer.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Apache-Installer.sh b/Apache-Installer.sh index f3a01fe..0fd0f0e 100644 --- a/Apache-Installer.sh +++ b/Apache-Installer.sh @@ -20,7 +20,7 @@ chmod -R 755 /var/www # Apache + MySQL # ##--------------------## -apt install -y apache2 mysql-server-5.7 +apt install -y apache2 mysql-server-5.7 libapache2-mod-proxy-html # mysql_secure_installation automated mysqladmin -u root password "$password" mysql -u root -p"$password" -e "UPDATE mysql.user SET Password=PASSWORD('$password') WHERE User='root'" @@ -57,6 +57,9 @@ cat < /etc/apache2/sites-available/"$domain.conf" EOF a2ensite $domain a2dissite 000-default +a2enmod proxy +a2enmod proxy_http +a2enmod rewrite ##---------## # PHP #