[icinga-checkins] icinga.org: icinga-web/master: * Fixed some IfModule issue caused a 500

git at icinga.org git at icinga.org
Thu Jan 14 17:05:04 CET 2010


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

Author: Marius Hein <marius.hein at netways.de>
Date:   Thu Jan 14 17:04:29 2010 +0100

* Fixed some IfModule issue caused a 500

---

 pub/.htaccess |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/pub/.htaccess b/pub/.htaccess
index 2e5f2c3..0e3094c 100644
--- a/pub/.htaccess
+++ b/pub/.htaccess
@@ -30,7 +30,10 @@ Allow from all
 	BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
 	BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
 	
-	Header append Vary User-Agent env=!dont-vary
+	<IfModule mod_headers.c>
+		Header append Vary User-Agent env=!dont-vary
+	</IfModule>
+	
 </IfModule>
 
 <IfDefine APACHE2>





More information about the icinga-checkins mailing list