diff --git a/etc/alternc/templates/alternc/apache2.conf b/etc/alternc/templates/alternc/apache2.conf index f82ff629..86c351d6 100644 --- a/etc/alternc/templates/alternc/apache2.conf +++ b/etc/alternc/templates/alternc/apache2.conf @@ -22,15 +22,13 @@ ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch - Order allow,deny - Allow from all + Require all granted - Order allow,deny - Allow from all - + Require all granted + php_admin_flag safe_mode_gid off php_admin_flag safe_mode off AddDefaultCharset UTF-8 @@ -43,8 +41,8 @@ ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride AuthConfig FileInfo Limit Options Indexes Options -Indexes +Includes -FollowSymLinks +MultiViews +SymLinksIfOwnerMatch - Order allow,deny - Allow from all + Require all granted + php_admin_flag safe_mode_gid off php_admin_flag safe_mode off php_admin_flag enable_dl off @@ -63,17 +61,15 @@ ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride AuthConfig Options FileInfo Limit Indexes Options +Indexes +Includes +FollowSymLinks +MultiViews - Order allow,deny - Allow from all + Require all granted AllowOverride AuthConfig Options FileInfo Limit Indexes Options +Indexes +Includes +FollowSymLinks +MultiViews - Order allow,deny - Allow from all + Require all granted - allow from all + Require all granted diff --git a/etc/alternc/templates/apache2/roundcube-ssl.conf b/etc/alternc/templates/apache2/roundcube-ssl.conf index 44f3b756..659eaeca 100644 --- a/etc/alternc/templates/apache2/roundcube-ssl.conf +++ b/etc/alternc/templates/apache2/roundcube-ssl.conf @@ -21,8 +21,7 @@ Options +Indexes +MultiViews +FollowSymLinks AllowOverride None - Order allow,deny - allow from all + Require all granted @@ -30,8 +29,7 @@ # This is needed to parse /var/lib/roundcube/.htaccess. See its # content before setting AllowOverride to None. AllowOverride All - order allow,deny - allow from all + Require all granted # Protecting basic directories: @@ -58,8 +56,7 @@ Options +FollowSymLinks +MultiViews - Order allow,deny - Allow from all + Require all granted SSLEngine On