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

View File

@ -21,8 +21,7 @@
<Directory "/usr/share/tinymce/www/"> <Directory "/usr/share/tinymce/www/">
Options +Indexes +MultiViews +FollowSymLinks Options +Indexes +MultiViews +FollowSymLinks
AllowOverride None AllowOverride None
Order allow,deny Require all granted
allow from all
</Directory> </Directory>
<Directory /var/lib/roundcube/> <Directory /var/lib/roundcube/>
@ -30,8 +29,7 @@
# This is needed to parse /var/lib/roundcube/.htaccess. See its # This is needed to parse /var/lib/roundcube/.htaccess. See its
# content before setting AllowOverride to None. # content before setting AllowOverride to None.
AllowOverride All AllowOverride All
order allow,deny Require all granted
allow from all
</Directory> </Directory>
# Protecting basic directories: # Protecting basic directories:
@ -58,8 +56,7 @@
<Directory "/usr/share/javascript/"> <Directory "/usr/share/javascript/">
Options +FollowSymLinks +MultiViews Options +FollowSymLinks +MultiViews
Order allow,deny Require all granted
Allow from all
</Directory> </Directory>
SSLEngine On SSLEngine On