File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1236,7 +1236,7 @@ if [ "$apache" = 'yes' ]; then
12361236 chmod 751 /var/log/apache2/domains
12371237
12381238 # Prevent remote access to server-status page
1239- sed -i ' /Allow from all/d' /etc/apache2/mods-enabled/ status.conf
1239+ sed -i ' /Allow from all/d' /etc/apache2/mods-available/hestia- status.conf
12401240
12411241 update-rc.d apache2 defaults > /dev/null 2>&1
12421242 systemctl start apache2 >> $LOG
Original file line number Diff line number Diff line change @@ -1225,7 +1225,7 @@ if [ "$apache" = 'yes' ]; then
12251225 chmod 751 /var/log/apache2/domains
12261226
12271227 # Prevent remote access to server-status page
1228- sed -i ' /Allow from all/d' /etc/apache2/mods-enabled/ status.conf
1228+ sed -i ' /Allow from all/d' /etc/apache2/mods-available/hestia- status.conf
12291229
12301230 update-rc.d apache2 defaults > /dev/null 2>&1
12311231 systemctl start apache2 >> $LOG
You can’t perform that action at this time.
0 commit comments