I need URL to be CASE-INSENSITIVE in Tomcat. I mean when I write in browser's address bar for example 'http://localhost/index.htm' is not equals 'http://localhost/INDEX.htm' and then i get error because this page(INDEX.htm) there isn't. how i can config Tomcat6 for case insensitive URL? Thank you
You can configure Apache 2.4 to render HTML and delegate JSP to Tomcat. In this scenario, you can configure Apache to be case insensitive. See this link: Usually jsp pages are referenced by links, so the developer controls the case of the URL.
Google's John Mueller clarifies that URLs are case sensitive, so it matters whether the characters are uppercase or lowercase. Variations in cases can make one URL different from another, similar to how a URL with a trailing slash is different from a URL without the slash.
URL's are not case sensitive. No matter how you type the domain with all caps or whatnot, it'll still go to the same place.
It is possible in Tomcat 6 and earlier, but not recommended.
Refer this Link from apache documentation. Search for caseSensitive
. By default it is true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With