• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the term? A redirect at the server level...

 
Lisa Modglin
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is it called when I want to change where a page request goes, but it's within the same host? I want to do it at the server level and I don't know what to search on. I don't want my users to have to use tiny url.

Example:
I want this request: http://mydomain.com/page.jsp to resolve to: http://mydomain.com/onedir/twodir/page.jsp?param=1¶m=2¶rm=3

Thanks!
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rewrite, as in mod_rewrite
 
Lisa Modglin
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I have looked around and am I understanding it right that Apache can rewrite URLs, but Tomcat alone cannot? We are not using Apache.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic