Author:   Lars Michelsen <[email protected]>
Date:     Mon Nov  7 12:51:11 2011 +0100
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Mon Nov  7 12:51:11 2011 +0100

Removed mod_rewrite redirect for indexes

---

 omd_install.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/omd_install.sh b/omd_install.sh
index 2bc7530..cb04069 100755
--- a/omd_install.sh
+++ b/omd_install.sh
@@ -142,8 +142,8 @@ Alias /$OMD_SITE/nagvis 
"$OMD_ROOT/local/share/nagvis/htdocs"
     # Use mod_rewrite for old url redirection even if there are php files which
     # redirect the queries itselfs. In some cases the mod_rewrite redirect
     # is better than the php redirect.
-    RewriteCond %{REQUEST_URI} 
^/$OMD_SITE/nagvis(/config\.php|/index\.php|/|)(\?.*|)$
-    RewriteRule ^(index\.php|)(\?.*|)$ 
/$OMD_SITE/nagvis/frontend/nagvis-js/\$1\$2 [R=301,L]
+    #RewriteCond %{REQUEST_URI} 
^/$OMD_SITE/nagvis(/config\.php|/index\.php|/|)(\?.*|)$
+    #RewriteRule ^(index\.php|)(\?.*|)$ 
/$OMD_SITE/nagvis/frontend/nagvis-js/\$1\$2 [R=301,L]
 
     # Redirect old regular map links
     RewriteCond %{REQUEST_URI} ^/$OMD_SITE/nagvis/frontend/(nagvis-js|wui)


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to