You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "D'Alessandro, Arthur" <Ar...@cbetech.com> on 2003/11/19 03:14:46 UTC

TC Case Sensitivity Question

I have done my due diligence on the net looking into this question,
however was unable to locate a definitive answer regarding tomcat and
case sensitivity with webapps URL mappings.
 
Can anyone provide better insight on how to remove case sensitivity from
the configuration?  or examples on how to bypass; I did see a 404
redirector, but that sounds awfully unnecessary. 
 
Thanks,
 
-Art
 

Re: TC Case Sensitivity Question

Posted by Christopher Schultz <ch...@comcast.net>.
Art,
> Can anyone provide better insight on how to remove case sensitivity from
> the configuration?

Ugh. Well, URLs are case-sensitive by the spec, so I'm not sure why 
you'd want to do this...

> or examples on how to bypass; I did see a 404
> redirector, but that sounds awfully unnecessary. 

The 404 redirector is not what you want... I don't even know how you'd 
change this. I guess you could store everything on the filesystem as 
lower-case, and make all your URLs lowercase, and then intercept any 
URLs, say, using a Filter, and then change the URL...

That might be even too far down the pipeline to intercept and translate 
any URLs, though.

Same goes for a web server. You'd have to seriously hack the web server 
to do the same thing.

-chris


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org