tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moran Ben-David" <mo...@placebase.com>
Subject Re: redirecting old context uris when moving context
Date Mon, 15 Oct 2007 14:24:42 GMT
Thanks for that, Chris.

I should come clean.. I'm one of those guys with the 'supersition'
that Tomcat can't handle http as well as apache (both functionally and
performance wise).  Glad you're active on the list to dispel these
notions.

moran



On 10/15/07, Christopher Schultz <chris@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Moran,
>
> Moran Ben-David wrote:
> > If you're using apache you could just use mod_rewrite.
>
> It's much simpler and efficient, if you're using httpd, to do:
>
> RedirectMatch /somehost/somecontext(.*) /somehost\1
>
> Why use the complexity of mod_rewrite when there's a perfectly good
> directive for just this type of thing.
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHE28y9CaO5/Lv0PARArMSAKC7cBg+oXcA7cVq6mxgITsjb54yzgCgo/C+
> mGQN+vOMit3UP9EtG68pcvI=
> =hGlg
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message