[icinga-checkins] icinga.org: icinga-web/mhein/testing: * Added AliasMatch for public module resources
git at icinga.org
git at icinga.org
Sat Aug 20 12:52:46 CEST 2011
Module: icinga-web
Branch: mhein/testing
Commit: e614b440ebc2b96e5fa794c4a9bd5b1c4769f96d
URL: https://git.icinga.org/?p=icinga-web.git;a=commit;h=e614b440ebc2b96e5fa794c4a9bd5b1c4769f96d
Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date: Thu Aug 18 11:06:36 2011 +0200
* Added AliasMatch for public module resources
---
etc/apache2/icinga-web.conf.in | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/etc/apache2/icinga-web.conf.in b/etc/apache2/icinga-web.conf.in
index c9ca161..c5f30b8 100644
--- a/etc/apache2/icinga-web.conf.in
+++ b/etc/apache2/icinga-web.conf.in
@@ -3,6 +3,9 @@
# - Enable all options .htaccess
# - Add extjs library to alias
#
+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
+
Alias @web_path@/js/ext3 @prefix@/lib/ext3
Alias @web_path@ @prefix@/pub
More information about the icinga-checkins
mailing list