You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by JB...@silenus.com on 2001/09/14 19:40:07 UTC
Case Sensitivity
I want a directory in my url to not be case sensitive. For example:
http://localhost/abc/ABCServlet
http://localhost/ABC/ABCServlet
I want both of the above to go to the /ABC/ABCServlet. I'm running
Apache/Tomcat. I've tried the alias in httpd.conf but it doesn't seem to
work.
Any ideas?
Jason E. Brawner
Silenus Group
RE: Case Sensitivity
Posted by Tony Vinayak <tv...@covalent.net>.
You could use mod_rewrite to fix the incoming URI. Something like:
RewriteEngine on
RewriteRule ^/([Aa][Bb][Cc]) /ABC [R]
- Tony
-----Original Message-----
From: JBrawner@silenus.com [mailto:JBrawner@silenus.com]
Sent: Friday, September 14, 2001 1:40 PM
To: tomcat-user@jakarta.apache.org
Subject: Case Sensitivity
I want a directory in my url to not be case sensitive. For example:
http://localhost/abc/ABCServlet
http://localhost/ABC/ABCServlet
I want both of the above to go to the /ABC/ABCServlet. I'm running
Apache/Tomcat. I've tried the alias in httpd.conf but it doesn't seem to
work.
Any ideas?
Jason E. Brawner
Silenus Group