Case-insensitive URLs for serving HTML

2005-09-13 Thread midnightjava
I have a webb app in Tomcat that serves only HTML, and I'd like to make the path component of the URL case-insensitive. So if the client navigates to http://domain.host/Pics or http://domain.host/pics or http://domain.host/PIcs they'll get the same resource. I guess I'd like to match the URL

Re: Case-insensitive URLs for serving HTML

2005-09-13 Thread Hassan Schroeder
[EMAIL PROTECTED] wrote: I have a webb app in Tomcat that serves only HTML, and I'd like to make the path component of the URL case-insensitive. ... I guess I'd like to match the URL pattern to a regular expression. One quick, easy approach: UrlRewriteFilter

Re: Case-insensitive URLs for serving HTML

2005-09-13 Thread Mark Leone
That looks like just what I needed. Thanks. -Mark Hassan Schroeder wrote: [EMAIL PROTECTED] wrote: I have a webb app in Tomcat that serves only HTML, and I'd like to make the path component of the URL case-insensitive. ... I guess I'd like to match the URL pattern to a regular