replacing allow from all by Require all granted

This commit is contained in:
Benjamin Sonntag 2018-06-21 18:29:49 +02:00
parent 88f6d04f89
commit 6762429c68
2 changed files with 11 additions and 18 deletions

View File

@ -22,14 +22,12 @@ ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
Require all granted
</Directory>
<Directory /usr/share/alternc/panel/admin/>
Order allow,deny
Allow from all
Require all granted
php_admin_flag safe_mode_gid off
php_admin_flag safe_mode off
@ -43,8 +41,8 @@ ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory %%ALTERNC_HTML%% >
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/
<Directory /usr/share/phpmyadmin>
AllowOverride AuthConfig Options FileInfo Limit Indexes
Options +Indexes +Includes +FollowSymLinks +MultiViews
Order allow,deny
Allow from all
Require all granted
</Directory>
<Directory /usr/share/squirrelmail>
AllowOverride AuthConfig Options FileInfo Limit Indexes
Options +Indexes +Includes +FollowSymLinks +MultiViews
Order allow,deny
Allow from all
Require all granted
</Directory>
<Directory /var/lib/alternc/ssl-cert-alias/>
allow from all
Require all granted
</Directory>
<VirtualHost *:80>

View File

@ -21,8 +21,7 @@
<Directory "/usr/share/tinymce/www/">
Options +Indexes +MultiViews +FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
Require all granted
</Directory>
<Directory /var/lib/roundcube/>
@ -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
</Directory>
# Protecting basic directories:
@ -58,8 +56,7 @@
<Directory "/usr/share/javascript/">
Options +FollowSymLinks +MultiViews
Order allow,deny
Allow from all
Require all granted
</Directory>
SSLEngine On