> From: rujin raj [mailto:rujin...@gmail.com] 
> Subject: Tomcat url redirection

> I want http://events.mydomain.xxx/ to
> go to http://events.mydomain.xxx/myapp.

Then name your webapp ROOT (case sensitive, even on Windows), not myapp, just 
as the Tomcat doc says to do.

> Moreover whenever i type the Public
> IP address (http://xxx.yyy.zzz.aaa) instead of
> events.mydomain.xxx should also redirect to
> http://events.mydomain.xxx/myapp.

That will happen automatically if events.mydomain.xxx and xxx.yyy.zzz.aaa both 
map to an IP address on the server on which Tomcat runs, *and* you have Tomcat 
listening on address 0.0.0.0 (the default), *and* you rename your app to ROOT, 
as noted above.

No rewrite filters are required if you set things up properly.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to