tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: redirecting old context uris when moving context
Date Mon, 15 Oct 2007 13:46:26 GMT
-----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


Mime
View raw message