It's not a secret anymore!*
The moose likes Servlets and the fly likes need case insensitive url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "need case insensitive url" Watch "need case insensitive url" New topic
Author

need case insensitive url

kranthidevarapalem kumar
Greenhorn

Joined: Dec 04, 2009
Posts: 6
Hi guys,
i was trying to get case insensitive url for my project when placed in linux machine. can any one tell me some ideas.

Thanks & Regards
kranthi
Sebastian Janisch
Ranch Hand

Joined: Feb 23, 2009
Posts: 1183
I'm having problems grasping what exactly your problem is. What URL are you talking about ? Why does it have to be case insensitive ?


JDBCSupport - An easy to use, light-weight JDBC framework -
kranthidevarapalem kumar
Greenhorn

Joined: Dec 04, 2009
Posts: 6
what i exactly need is i my url looks like
xyz/Abc and now if you enter Abc in upper case like ABC it is showing 404 error and if we enter aBC it will show 404 error only.
what i exactly need is if we enter other than Abc it should redirect to Abc.
i have tried it by using "RewriteRule ^products/([0-9][0-9])/$ /productinfo.php?prodID=$1 " in .htaccess file of apache folder but it is not comming.
so now i am trying through "uriworkermap.properties" file and also through httpd.config file but i am not able to find the exact solution

Thanks in advance
chandrakant karale
Ranch Hand

Joined: Nov 21, 2007
Posts: 41
This may help

http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

look for

caseSensitive

If the value of this flag is false, all case sensitivity checks will be disabled. If not specified, the default value of the flag is true.
kranthidevarapalem kumar
Greenhorn

Joined: Dec 04, 2009
Posts: 6
thanks for the reply....
sorry for the delayed response i forgot to mention the application server name in previous mail. Actually i am using jboss server... and linux and solaries operating systems
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

The Tomcat documentation should still be valid (JBoss uses Tomcat as its Servlet container).


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need case insensitive url