mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:48:57 +01:00
changing access control stuff for Apache 2.4 again, as openSUSE 13.1 base config uses Deny, which has higher precedence then Require
This commit is contained in:
parent
856db31c66
commit
3317cf1c29
@ -15,16 +15,12 @@ RedirectMatch ^(/principals/users/.*)$ /egroupware/groupdav.php$1
|
|||||||
|
|
||||||
<Directory /usr/share/egroupware/>
|
<Directory /usr/share/egroupware/>
|
||||||
Options FollowSymLinks ExecCGI
|
Options FollowSymLinks ExecCGI
|
||||||
<IfModule mod_authz_core.c>
|
|
||||||
# Apache 2.4
|
|
||||||
AllowOverride None
|
|
||||||
Require all granted
|
|
||||||
</IfModule>
|
|
||||||
<IfModule !mod_authz_core.c>
|
|
||||||
# Apache 2.2
|
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Allow from all
|
Allow from all
|
||||||
|
<IfModule mod_authz_core.c>
|
||||||
|
# Apache 2.4
|
||||||
|
Require all granted
|
||||||
</IfModule>
|
</IfModule>
|
||||||
DirectoryIndex index.html index.php
|
DirectoryIndex index.html index.php
|
||||||
AddHandler cgi-script .cgi
|
AddHandler cgi-script .cgi
|
||||||
@ -49,15 +45,12 @@ RedirectMatch ^(/principals/users/.*)$ /egroupware/groupdav.php$1
|
|||||||
php_value post_max_size 65M
|
php_value post_max_size 65M
|
||||||
php_value max_input_vars 3000
|
php_value max_input_vars 3000
|
||||||
<Files ~ "\.inc\.php$">
|
<Files ~ "\.inc\.php$">
|
||||||
|
Order allow,deny
|
||||||
|
Deny from all
|
||||||
<IfModule mod_authz_core.c>
|
<IfModule mod_authz_core.c>
|
||||||
# Apache 2.4
|
# Apache 2.4
|
||||||
Require all denied
|
Require all denied
|
||||||
</IfModule>
|
</IfModule>
|
||||||
<IfModule !mod_authz_core.c>
|
|
||||||
# Apache 2.2
|
|
||||||
Order allow,deny
|
|
||||||
Deny from all
|
|
||||||
</IfModule>
|
|
||||||
</Files>
|
</Files>
|
||||||
# Enable the following block in order to redirect logins to HTTPS:
|
# Enable the following block in order to redirect logins to HTTPS:
|
||||||
#RewriteEngine On
|
#RewriteEngine On
|
||||||
|
Loading…
Reference in New Issue
Block a user