fixed apache output
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
systemctl stop apache2
|
systemctl stop apache2 > $OUTPUT 2>&1
|
||||||
|
|
||||||
##############
|
##############
|
||||||
# Apache #
|
# Apache #
|
||||||
##############
|
##############
|
||||||
|
|
||||||
a2dissite 000-default
|
a2dissite 000-default > $OUTPUT 2>&1
|
||||||
a2dismod mpm_prefork
|
a2dismod mpm_prefork > $OUTPUT 2>&1
|
||||||
a2enmod actions fcgid alias proxy_fcgi ssl headers http2 setenvif socache_shmcb
|
a2enmod actions fcgid alias proxy_fcgi ssl headers http2 setenvif socache_shmcb > $OUTPUT 2>&1
|
||||||
|
|
||||||
mkdir -p /etc/apache2/snippets/
|
mkdir -p /etc/apache2/snippets/
|
||||||
curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/CoreModules/apache/config/apache2/snippets-ssl.conf -o /etc/apache2/snippets/apa-ssl.conf
|
curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/CoreModules/apache/config/apache2/snippets-ssl.conf -o /etc/apache2/snippets/apa-ssl.conf
|
||||||
@@ -51,4 +51,4 @@ curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/Scripts/to
|
|||||||
# custom Welcome page
|
# custom Welcome page
|
||||||
echo "<html><head></head><body>$webserv is functioning normally</body></html>" > /var/www/html/index.html
|
echo "<html><head></head><body>$webserv is functioning normally</body></html>" > /var/www/html/index.html
|
||||||
|
|
||||||
systemctl start apache2
|
systemctl start apache2 > $OUTPUT 2>&1
|
||||||
Reference in New Issue
Block a user