File otrs-httpd_conf-apache2_4.patch of Package otrs
Index: scripts/apache2-httpd.include.conf
===================================================================
--- scripts/apache2-httpd.include.conf.orig
+++ scripts/apache2-httpd.include.conf
@@ -36,7 +36,13 @@ Alias /otrs-web/ "@OTRS_ROOT@/otrs/var/h
Allow from all
</IfVersion>
<IfVersion >= 2.4>
- Require all granted
+ <IfModule !mod_access_compat.c>
+ Require all granted
+ </IfModule>
+ <IfModule mod_access_compat.c>
+ Order allow,deny
+ Allow from all
+ </IfModule>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
@@ -62,7 +68,13 @@ Alias /otrs-web/ "@OTRS_ROOT@/otrs/var/h
Allow from all
</IfVersion>
<IfVersion >= 2.4>
- Require all granted
+ <IfModule !mod_access_compat.c>
+ Require all granted
+ </IfModule>
+ <IfModule mod_access_compat.c>
+ Order allow,deny
+ Allow from all
+ </IfModule>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
@@ -112,7 +124,13 @@ Alias /otrs-web/ "@OTRS_ROOT@/otrs/var/h
Allow from all
</IfVersion>
<IfVersion >= 2.4>
- Require all granted
+ <IfModule !mod_access_compat.c>
+ Require all granted
+ </IfModule>
+ <IfModule mod_access_compat.c>
+ Order allow,deny
+ Allow from all
+ </IfModule>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>