tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: how to make context path case insensitive
Date Mon, 11 Aug 2008 14:41:37 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pierre,

Pierre Goupil wrote:
| If what you need is to redirect any request to
| http://www.yoursite.com/yOuRwEbapP (yourwebapp being case insensitive) to
| http://www.yoursite.com/yourwebapp (yourwebapp being case sensitive and
| being the context path to which you have deployed your app to), what you
| need is a servlet filter. Note that what is called "the context path" is
| only the "yourwebapp" part, the "www.yoursite.com" is not a part of it,
| strictly speaking.

Oh, that's a MUCH better idea than mine (to deploy all combinations of
case as redirector apps). The trick is that you must deploy this filter
into the ROOT application specifically.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkigT6EACgkQ9CaO5/Lv0PDAIwCeKkoAnrLhvx38Ju8ee6Jz8A4H
EVgAnAoUV9pZ50yB/sA/yMffgYd20Cu6
=me8E
-----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