You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Wall <d....@computer.org> on 2005/03/07 20:25:56 UTC
Tomcat 4.1 and auto-redirect/URL rewrite
I have a page in a tomcat 4.1 webapp that has a rather lengthy path name,
but I'd like to be able to email a much shorter link to avoid long links
being broken across lines by some older email clients.
With Apache HTTPD's rewrite module, this could be accomplished. Is there
something similar in TC? I'd like to map something like:
https://www.myhost.com/app/pickup?c=12345678901234567890
to
https://www.myhost.com/app/custom/customerName/applicationName/welcome.jsp?c=12345678901234567890
I know I could create a servlet that does an auto-redirect, but I'm looking
to see if TC has anything that more directly will rewrite the URLs.
Thanks,
David
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org