> From: Ridwan [mailto:[EMAIL PROTECTED]
> Subject: Tomcat multiple sub domain names configuration
>
> typing both of those will just bring the Tomcat's home page from the
> $CATALINA_HOME/webapps/ROOT folder.

The easiest way is to simply delete Tomcat's ROOT directory, and rename 
MyApplication to ROOT.

If you want to do it the hard way and keep the Tomcat default page for site1, 
you'll need to configure virtual hosting:
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html

You'll need to have separate appBase directories for the two <Host>s.  You can 
deploy your webapp as ROOT in the site2 host, or you could have a dummy ROOT 
webapp that just redirects to site1/MyApplication.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to