$OpenBSD: patch-etc_apache2_icinga-web_conf_in,v 1.7 2017/02/07 21:34:43 sthen Exp $
--- etc/apache2/icinga-web.conf.in.orig	Thu Dec 22 22:25:51 2016
+++ etc/apache2/icinga-web.conf.in	Tue Feb  7 21:26:20 2017
@@ -5,9 +5,13 @@
 # Copyright (C) 2009-2015 Icinga Development Team (http://www.icinga.org)
 ###
 
+<IfModule !mod_rewrite.c>
+LoadModule rewrite_module      ${LOCALBASE}/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/
