From dde280206069b815926599174245f04dd25581d3 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 21 Aug 2020 12:06:13 +0000 Subject: [PATCH] Added custom default index page --- CoreModules/apache/conf.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CoreModules/apache/conf.sh b/CoreModules/apache/conf.sh index a4d1337..edd361f 100644 --- a/CoreModules/apache/conf.sh +++ b/CoreModules/apache/conf.sh @@ -27,4 +27,7 @@ ln -s /etc/apache2/sites-available/"$sitename"_nossl.conf /etc/apache2/sites-ena wget -q -t7 -O - "$repo"/raw/branch/"$branch"/CoreModules/apache/config/apache2/site_ssl-unconfigured >> /etc/apache2/sites-available/"$sitename"_ssl.conf sed -i -e 's/DOMAINname/'$domain'/' /etc/apache2/sites-available/"$sitename"_ssl.conf +# custom Welcome page +echo "$webserv is functioning normally" > /var/www/html/index.html + systemctl start apache2 \ No newline at end of file