Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URL Rewrite

 
Timy McTipperstan
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to have Apache rewrite the URLs for.

So here is what I have
category.jsp?catid=1&type=1
subcategory.jsp?catid=1&type=1
product.jsp?catid=1&type=1&productid=1

Like it to be
category/1/1 or category/1/1/
subcategory/1/1 or subcategory/1/1/
product/1/1/1 or product/1/1/1/

I have looked at Url Rewrite Filter and would like to see if apache could be a simpler more straight forward solution.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic