File icinga-web-apache.conf.patch of Package icinga-web
diff -rupN icinga-web-1.9.0.orig/etc/apache2/icinga-web.conf.in icinga-web-1.9.0/etc/apache2/icinga-web.conf.in
--- icinga-web-1.9.0.orig/etc/apache2/icinga-web.conf.in 2013-05-06 17:13:02.000000000 +0200
+++ icinga-web-1.9.0/etc/apache2/icinga-web.conf.in 2013-05-08 11:28:57.712470032 +0200
@@ -10,6 +10,7 @@
# Markus Frosch <markus@lazyfrosch.de>
###
+<IfDefine ICINGAWEB>
# Matching for module stylesheet and images
AliasMatch "^@web_path@/modules/([A-Za-z0-9]+)/resources/styles/([A-Za-z0-9]+\.css)$" "@prefix@/app/modules/$1/pub/styles/$2"
AliasMatch "^@web_path@/modules/([A-Za-z0-9]+)/resources/images/([A-Za-z_\-0-9]+\.(?:png|gif|jpg))$" "@prefix@/app/modules/$1/pub/images/$2"
@@ -22,22 +23,30 @@ RedirectMatch "^@web_path@$" @web_path@/
# Access to where the styles are located
<DirectoryMatch "^@prefix@/app/modules/\w+/pub/styles/">
Options -Indexes -MultiViews
+ Order allow,deny
+ Allow from all
</DirectoryMatch>
# Access to where the images are located
<DirectoryMatch "^@prefix@/app/modules/\w+/pub/images/">
Options -Indexes -MultiViews
+ Order allow,deny
+ Allow from all
</DirectoryMatch>
# Access to the ext3 library
<Directory "@prefix@/lib/ext3/">
Options -Indexes -MultiViews
+ Order allow,deny
+ Allow from all
</Directory>
# Access to the public web folder of Icinga Web
<Directory "@prefix@/pub/">
DirectoryIndex index.php
Options -MultiViews -Indexes +FollowSymLinks
+ Order allow,deny
+ Allow from all
RewriteEngine On
# @web_path@ is base for all rewrite rules
@@ -76,4 +85,4 @@ RedirectMatch "^@web_path@$" @web_path@/
AcceptPathInfo On
</IfDefine>
</Directory>
-
+</IfDefine>