diff --git a/doc/rpm-build/apache.conf b/doc/rpm-build/apache.conf
index 7fc109b283..8247c729a6 100644
--- a/doc/rpm-build/apache.conf
+++ b/doc/rpm-build/apache.conf
@@ -16,8 +16,11 @@ RedirectMatch ^(/principals/users/.*)$ /egroupware/groupdav.php$1
Options FollowSymLinks ExecCGI
AllowOverride None
- Order allow,deny
- Allow from all
+
+ # Apache 2.2
+ Order allow,deny
+ Allow from all
+
# Apache 2.4
Require all granted
@@ -45,8 +48,11 @@ 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.2
+ Order allow,deny
+ Deny from all
+
# Apache 2.4
Require all denied