Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need case insensitive url

 
kranthidevarapalem kumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having problems grasping what exactly your problem is. What URL are you talking about ? Why does it have to be case insensitive ?
 
kranthidevarapalem kumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Tomcat documentation should still be valid (JBoss uses Tomcat as its Servlet container).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic