Skip to content

Commit 874e3c9

Browse files
committed
Disable Apache2 Server Status Module by default.
1 parent c473431 commit 874e3c9

File tree

5 files changed

+8
-1
lines changed

5 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
55
### Features
66

77
### Bugfixes
8+
- Disable Apache2 Server Status Module by default.
89

910
## [1.1.1] - 2020-03-24 - Hotfix
1011
### Features

install/hst-install-debian.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,6 +1172,7 @@ if [ "$apache" = 'yes' ]; then
11721172
a2enmod suexec > /dev/null 2>&1
11731173
a2enmod ssl > /dev/null 2>&1
11741174
a2enmod actions > /dev/null 2>&1
1175+
a2dismod status > /dev/null 2>&1
11751176
if [ "$release" -eq 10 ]; then
11761177
a2enmod mpm_itk > /dev/null 2>&1
11771178
else

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,7 @@ if [ "$apache" = 'yes' ]; then
11471147
a2enmod ssl > /dev/null 2>&1
11481148
a2enmod actions > /dev/null 2>&1
11491149
a2enmod ruid2 > /dev/null 2>&1
1150+
a2dismod status > /dev/null 2>&1
11501151
mkdir -p /etc/apache2/conf.d
11511152
mkdir -p /etc/apache2/conf.d/domains
11521153
echo "# Powered by hestia" > /etc/apache2/sites-available/default

install/upgrade/versions/latest.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@
66
####### Place additional commands below. #######
77
#######################################################################################
88

9+
if [ -e "/etc/apache2/mods-enabled/status.conf" ]; then
10+
echo "(*) Disable Apache2 Server Status Module..."
11+
a2dismod status > /dev/null 2>&1
12+
fi

install/upgrade/versions/previous/1.1.1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ if [ -e "/usr/share/phpmyadmin/libraries/vendor_config.php" ]; then
1717
echo "(*) Updating phpMyAdmin configuration..."
1818
sed -i "s|define('CONFIG_DIR', ROOT_PATH);|define('CONFIG_DIR', '/etc/phpmyadmin/');|" /usr/share/phpmyadmin/libraries/vendor_config.php
1919
sed -i "s|define('TEMP_DIR', ROOT_PATH . 'tmp/');|define('TEMP_DIR', '/var/lib/phpmyadmin/tmp/');|" /usr/share/phpmyadmin/libraries/vendor_config.php
20-
fi
20+
fi

0 commit comments

Comments
 (0)