diff --git a/doc/rpm-build/apache.conf b/doc/rpm-build/apache.conf
index b9950e5781..70a2a3c2d4 100644
--- a/doc/rpm-build/apache.conf
+++ b/doc/rpm-build/apache.conf
@@ -15,17 +15,13 @@ RedirectMatch ^(/principals/users/.*)$ /egroupware/groupdav.php$1
Options FollowSymLinks ExecCGI
+ AllowOverride None
+ Order allow,deny
+ Allow from all
# Apache 2.4
- AllowOverride None
Require all granted
-
- # Apache 2.2
- AllowOverride None
- Order allow,deny
- Allow from all
-
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
+ Order allow,deny
+ Deny from all
# Apache 2.4
Require all denied
-
- # Apache 2.2
- Order allow,deny
- Deny from all
-
# Enable the following block in order to redirect logins to HTTPS:
#RewriteEngine On