[omd-commits] OMD Git: omd: omd: make HTTP redirect to /site/omd/

git version control git at mathias-kettner.de
Mon Apr 11 14:44:13 CEST 2011


Module:   omd
Branch:   master
Commit:   85708f4c081268fa407817055af7026d1258c71b
URL:      http://omdistro.org/projects/omd/repository/revisions/85708f4c081268fa407817055af7026d1258c71b

Author:   Mathias Kettner <mk at mathias-kettner.de>
Date:     Mon Apr 11 14:44:10 2011 +0200
Commiter: Mathias Kettner <mk at mathias-kettner.de>
Date:     Mon Apr 11 14:44:10 2011 +0200

omd: make HTTP redirect to /site/omd/
The old redirection was to /site/omd (without slash). The
lead to an immedate further redirect where - furthermore - the
HTTPS got lost.

---

 packages/omd/skel/etc/apache/conf.d/omd.conf |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/omd/skel/etc/apache/conf.d/omd.conf b/packages/omd/skel/etc/apache/conf.d/omd.conf
index fc17102..4d87c0b 100644
--- a/packages/omd/skel/etc/apache/conf.d/omd.conf
+++ b/packages/omd/skel/etc/apache/conf.d/omd.conf
@@ -1,6 +1,6 @@
 Alias /###SITE###/omd "###ROOT###/share/omd/htdocs"
-RedirectMatch ^/###SITE###$  /###SITE###/omd
-RedirectMatch ^/###SITE###/$ /###SITE###/omd
+RedirectMatch ^/###SITE###$  /###SITE###/omd/
+RedirectMatch ^/###SITE###/$ /###SITE###/omd/
 
 <Directory "###ROOT###/share/omd/htdocs">
 



More information about the omd-commits mailing list