File fix-apache-conf-on-opensuse131.patch of Package icinga-web

diff -rupN icinga-web-1.11.2.orig/etc/apache2/icinga-web.conf.in icinga-web-1.11.2/etc/apache2/icinga-web.conf.in
--- icinga-web-1.11.2.orig/etc/apache2/icinga-web.conf.in	2014-08-13 12:06:35.000000000 +0200
+++ icinga-web-1.11.2/etc/apache2/icinga-web.conf.in	2014-08-20 09:28:36.320991915 +0200
@@ -1,8 +1,13 @@
 ####
 # Icinga Web Apache configuration
-# Supports 2.2 and 2.4
 #
-# Copyright (C) 2009-2014 Icinga Development Team (http://www.icinga.org)
+# this file includes all RewriteRules required
+#
+# No .htaccess file is needed under
+# the application paths.
+#
+# (c) 2012 Icinga Development Team
+# Markus Frosch <markus@lazyfrosch.de>
 ###
 
 # Matching for module stylesheet and images
@@ -17,66 +22,26 @@ RedirectMatch "^@web_path@$" @web_path@/
 # Access to where the styles are located
 <DirectoryMatch "^@prefix@/app/modules/\w+/pub/styles/">
     Options -Indexes -MultiViews
-    <IfModule mod_authz_core.c>
-        # Apache 2.4
-        <RequireAll>
-            Require all granted
-        </RequireAll>
-    </IfModule>
-    <IfModule !mod_authz_core.c>
-        # Apache 2.2
-        Order allow,deny
-        Allow from all
-    </IfModule>
+    Allow from all
 </DirectoryMatch>
 
 # Access to where the images are located
 <DirectoryMatch "^@prefix@/app/modules/\w+/pub/images/">
     Options -Indexes -MultiViews
-    <IfModule mod_authz_core.c>
-        # Apache 2.4
-        <RequireAll>
-            Require all granted
-        </RequireAll>
-    </IfModule>
-    <IfModule !mod_authz_core.c>
-        # Apache 2.2
-        Order allow,deny
-        Allow from all
-    </IfModule>
+    Allow from all
 </DirectoryMatch>
 
 # Access to the ext3 library
 <Directory "@prefix@/lib/ext3/">
     Options -Indexes -MultiViews
-    <IfModule mod_authz_core.c>
-        # Apache 2.4
-        <RequireAll>
-            Require all granted
-        </RequireAll>
-    </IfModule>
-    <IfModule !mod_authz_core.c>
-        # Apache 2.2
-        Order allow,deny
-        Allow from all
-    </IfModule>
+    Allow from all
 </Directory>
 
 # Access to the public web folder of Icinga Web
 <Directory "@prefix@/pub/">
     DirectoryIndex index.php
     Options -MultiViews -Indexes +FollowSymLinks
-    <IfModule mod_authz_core.c>
-        # Apache 2.4
-        <RequireAll>
-            Require all granted
-        </RequireAll>
-    </IfModule>
-    <IfModule !mod_authz_core.c>
-        # Apache 2.2
-        Order allow,deny
-        Allow from all
-    </IfModule>
+    Allow from all
 
     RewriteEngine On
     # @web_path@ is base for all rewrite rules