Author:   Lars Michelsen <[email protected]>
Date:     Fri Sep 30 13:04:33 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Fri Sep 30 13:04:33 2011 +0200

Rewrote nagvis redirect rule

---

 etc/apache2-nagvis.conf-sample |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/etc/apache2-nagvis.conf-sample b/etc/apache2-nagvis.conf-sample
index d8d2306..5b27d75 100644
--- a/etc/apache2-nagvis.conf-sample
+++ b/etc/apache2-nagvis.conf-sample
@@ -33,7 +33,7 @@ Alias @NAGVIS_WEB@ "@NAGVIS_PATH@"
     # redirect the queries itselfs. In some cases the mod_rewrite redirect
     # is better than the php redirect.
     RewriteCond %{REQUEST_URI} 
^@NAGVIS_WEB@(/config\.php|/index\.php|/|)(\?.*|)$
-    RewriteRule ^(index\.php|)(\?.*|)$ @NAGVIS_WEB@/frontend/nagvis-js/$1$2 
[R=301,L]
+    RewriteRule ^(.*)$ @NAGVIS_WEB@/frontend/nagvis-js/%1%2 [R=301,L]
     
     # Redirect old regular map links
     RewriteCond %{REQUEST_URI} ^@NAGVIS_WEB@/frontend/(wui|nagvis-js)


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to