If you are using tomcat standalone I don't know a solution where you can just setup tomcat t do this.
Never the less there are several ways to achieve this goal: - Create and define a Filter that redirects all request to a resource to another resource by using response.sendRedirect() - Create and define a servlet that does the same, and configure tomcat that way, that all request that should be redirected are send to this servlet. If you use tomcat behind a web server it's a matter of the web server configuration (apache: mod_alias, iis: ???) > -----Urspr�ngliche Nachricht----- > Von: Luca Ventura [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 3. Juli 2002 15:29 > An: tomcat-user; tomcat-dev > Betreff: How I can redirect requests in Tomcat 4? > > I would like to redirect all the requests for this url: > > http://www.mydomain.com/address1.html > > to this new url: > > http://www.newdomain.com/address2.html > > How can I set Tomcat 4 to do this? Which configuration files > must I modify? > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
