[icinga-checkins] icinga.org: icinga-web/jmosshammer/default: * Added DirectoryMatch to allow proper access to module ressources

git at icinga.org git at icinga.org
Mon Aug 22 11:32:28 CEST 2011


Module: icinga-web
Branch: jmosshammer/default
Commit: ee1183e8e6c16bb79e7b62160d74997ce8d7c9eb
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=ee1183e8e6c16bb79e7b62160d74997ce8d7c9eb

Author: Jannis Moßhanner <jannis.mosshammer at netways.de>
Date:   Sun Aug 21 19:50:16 2011 +0200

* Added DirectoryMatch to allow proper access to module ressources

---

 etc/apache2/icinga-web.conf.in |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/etc/apache2/icinga-web.conf.in b/etc/apache2/icinga-web.conf.in
index c5f30b8..bfcdaa5 100644
--- a/etc/apache2/icinga-web.conf.in
+++ b/etc/apache2/icinga-web.conf.in
@@ -10,6 +10,17 @@ AliasMatch @web_path@/modules/([A-Za-z0-9]*)/resources/images/([A-Za-z_\-0-9]*\.
 Alias @web_path@/js/ext3 @prefix@/lib/ext3
 Alias @web_path@ @prefix@/pub
 
+<DirectoryMatch @prefix@/app/modules/\w+/pub/styles/>
+	Order allow,deny
+	Allow from all
+</DirectoryMatch>
+
+<DirectoryMatch @prefix@/app/modules/\w+/pub/images/>
+	Order allow,deny
+	Allow from all
+</DirectoryMatch>
+
+
 <Directory @prefix@/lib/ext3>
 	Order allow,deny
 	Allow from all





More information about the icinga-checkins mailing list