I believe the syntax is as follows, <Alias>www.site1.com</Alias> <Alias>wap.site1.com</Alias> and that works for me.
Ozzie ----- Original Message ----- From: "Renato" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 2:13 PM Subject: Help with Alias in Tomcat 4.0.2 > Hi all, > > I'm setting Tomcat 4.0.2 with multiple hosts. The tag "<Alias >" doesn't > seem to work as it should ( it works in Tomcat 3.3 ). The syntax I'm using > is: > <Host name="site1.com"> > <Alias name="www.site1.com" /> > <Alias name="wap.site1.com" /> > <Context path="" docBase="/home/site1/public_html/" > debug="0" crossContext="false" reloadable="true" /> > </Host> > > Is it correct for Tomcat 4.0 ? Or should I create a Host entry for each > domain ? > > Thanks > Renato > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>