This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Apache Rewrite Rule Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache Rewrite Rule" Watch "Apache Rewrite Rule" New topic
Author

Apache Rewrite Rule

Win Loo
Greenhorn

Joined: Feb 14, 2008
Posts: 1
Hi,

I want all the white spaces (added anyway) from my url to be truncated.

eg.
"www.xyz.com/product- category/winterwear/ mens/"

to be converted to
"www.xyz.com/product-category/winterwear/mens/"

White space could be anywhere in the URL. I want apache rewrite rule to be
written for this purpose. Any other way is also welcome.


Any help would be appreciated.

Thanks,
Win Loo
 
jQuery in Action, 2nd edition
 
subject: Apache Rewrite Rule
 
Similar Threads
How to call struts action as Website default home page
URL Rewrite
struts url-pattern problem..
Does mod_rewrite work with mod_jk?
url encoding