tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: how to make context path case insensitive
Date Mon, 11 Aug 2008 14:40:20 GMT
Hash: SHA1


persistence k wrote:
| Currently my webapp context path is in upper case, and as per the
| requirement we need to make the context path case insensitive
| just as and WWW.GOOgle.COM point to same application. Case
| sensitivity shouldn't be a matter for my context path.
| Yes, i  do need users to be able to type in either case initially and
to be
| directed to the same webapp  but instead of deploying multiple
variants of
| the same application, can you suggest me how to create a case insensitive
| context path for my web app.

Without deploying trivial (redirector) applications for all combinations
of case, you'd have to hack the Tomcat source code. Since URLs are
defined to be case-sensitive (except for the hostname in HTTP/S URLs, of
course), there was no reason for Tomcat to allow for this capability.

If you are running Apache httpd in front of Tomcat, you could probably
do this with some use of mod_rewrite.

- -chris
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message