> I tried simply going like this
>
> <Host name="www.mysite.com">
> <Context path="" docBase="/var/www/server1" reloadable="true" debug="0" 
/>
> </Host>
>
> <Host name="mail.external.mysite.com">
> <Context path="" docBase="/var/www/server2" reloadable="true" debug="0" 
/>
> </Host>
>

I believe you are only allowed to have one Context path="" because this 
defines the default webapp - where the requests go if they don't match any 

other context path.

I'm not sure how you could implement real virtual hosts on Tomcat - where 
you can link to eg "/index.html" insted of "/webappname/index.html".  Be 
nice to know. 

Regards,
John Fletcher


**********************************************************************
IMPORTANT:  This e-mail is intended for the use of the addressee and may 
contain information that is confidential, commercially valuable or subject to 
legal or parliamentary privilege.  If you are not the intended recipient you 
are notified that any review, re-transmission, disclosure, use or dissemination 
of this communication is strictly prohibited by several Commonwealth Acts of 
Parliament.  If you have received this communication in error please notify the 
sender immediately and delete all copies of this transmission together with any 
attachments.
**********************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to