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:
Ralf Becker 2014-10-07 12:56:19 +00:00
parent e3aec8abb2
commit df7dc88be5

View File

@ -15,17 +15,13 @@ RedirectMatch ^(/principals/users/.*)$ /egroupware/groupdav.php$1
<Directory /usr/share/egroupware/>
Options FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
<IfModule mod_authz_core.c>
# Apache 2.4
AllowOverride None
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
AllowOverride None
Order allow,deny
Allow from all
</IfModule>
DirectoryIndex index.html index.php
AddHandler cgi-script .cgi
AddDefaultCharset Off
@ -49,15 +45,12 @@ RedirectMatch ^(/principals/users/.*)$ /egroupware/groupdav.php$1
php_value post_max_size 65M
php_value max_input_vars 3000
<Files ~ "\.inc\.php$">
Order allow,deny
Deny from all
<IfModule mod_authz_core.c>
# Apache 2.4
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order allow,deny
Deny from all
</IfModule>
</Files>
</Directory>