$OpenBSD: patch-etc_apache2_icinga-web_conf_in,v 1.4 2013/05/07 15:34:47 sthen Exp $
--- etc/apache2/icinga-web.conf.in.orig	Mon Apr 29 18:54:16 2013
+++ etc/apache2/icinga-web.conf.in	Fri May  3 13:38:52 2013
@@ -10,9 +10,13 @@
 # Markus Frosch <markus@lazyfrosch.de>
 ###
 
+<IfModule !mod_rewrite.c>
+LoadModule rewrite_module      /usr/lib/apache/modules/mod_rewrite.so
+</IfModule>
+
 # 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"
+AliasMatch "^@web_path@/modules/([A-Za-z0-9]+)/resources/images/([-_A-Za-z0-9]+\.(png|gif|jpg))$" "@prefix@/app/modules/$1/pub/images/$2"
 
 # Matching for Icinga Web and the ext3 framework
 Alias @web_path@/js/ext3/ @prefix@/lib/ext3/
