Reputation: 141
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
Upvotes: 7
Views: 19660
Reputation: 79
A lot depends on whether you use Tomcat or Apache for HTML rendering. 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.
Upvotes: 0
Reputation: 155
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
Upvotes: 4