Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: HTTP Redirections with Tomcat

Shapira, Yoav

2004-05-19

Replies:


Hi,
This gets asked all the time: you could search the list archives. Here are a couple of ideas:
- Put index.html in webapps/altassian-jira-2.0.2 where the index.html contains only a <meta http-equiv="refresh" ...> statement.
- Put a filter in webapps/altassian-jira-2.0.2 mapped to url-pattern /* which redirects to -2.5.3.
- Use the balancer webapp that ships with tomcat 5 and does the above filter implementation for you.
- You can also do it in a Servlet instead of a Filter (again mapped to url-pattern /*)
and the list goes on.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Guillermo Zarabozo [mailto:guille_zarabozo@(protected)]
>Sent: Wednesday, May 19, 2004 1:52 PM
>To: tomcat-user@(protected)
>Subject: HTTP Redirections with Tomcat
>
>Hi Everyone,
>I have a Tomcat Appl. Server running with Atlassian JIRA application.
>
>Recently We had an upgrade to a newer version, so the clients now need to
>change this URL
>
>http://<hostname>:8080/altlassian-jira-2.0.2
>
>for ...
>
>http://<hostname>:8080/altlassian-jira-2.5.3
>
>
>Is there any posibility to create some kind of http redirection from the
>old
>url to the new one (with tomcat of course) ?
>
>Any ideas ... even the crazy ones are welcome !!!
>
>Thanks in advance.
>
>Regards
>
>Guillermo.
>
>_________________________________________________________________
>MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)




This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.