|
|
@@ -1187,6 +1187,9 @@ fi
|
|
|
if [ "$apache" = 'yes' ]; then
|
|
|
echo "(*) Configuring Apache Web Server..."
|
|
|
|
|
|
+ mkdir -p /etc/apache2/conf.d
|
|
|
+ mkdir -p /etc/apache2/conf.d/domains
|
|
|
+
|
|
|
# Copy configuration files
|
|
|
cp -f $HESTIA_INSTALL_DIR/apache2/apache2.conf /etc/apache2/
|
|
|
cp -f $HESTIA_INSTALL_DIR/apache2/status.conf /etc/apache2/mods-available/hestia-status.conf
|
|
|
@@ -1212,8 +1215,6 @@ if [ "$apache" = 'yes' ]; then
|
|
|
a2enmod ruid2 > /dev/null 2>&1
|
|
|
fi
|
|
|
|
|
|
- mkdir -p /etc/apache2/conf.d
|
|
|
- mkdir -p /etc/apache2/conf.d/domains
|
|
|
echo "# Powered by hestia" > /etc/apache2/sites-available/default
|
|
|
echo "# Powered by hestia" > /etc/apache2/sites-available/default-ssl
|
|
|
echo "# Powered by hestia" > /etc/apache2/ports.conf
|