For the <Alias> element to work in Tomcat 3.3.x, it must preceed all <Context> elements. This requirement has to do with how the XML is processed and keeping this feature simple to implement. You can find additional details here:
<http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#context_addcust> Cheers, Larry > -----Original Message----- > From: Duane Gran [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 14, 2002 12:15 PM > To: [EMAIL PROTECTED] > Cc: SpinWeb Admin > Subject: existence of Alias tag in Tomcat 3.3? > > > Tomcat Users, > > I was under the impression that there was an Alias tag > available within > a WebApp that would allow multiple domain names to match to one Host > entry. For example: > > <webapps> > <Host name="nickmain.spinweb.net"> > <Context path="" > > docBase="/usr/local/apache/sites/anotherbigidea.com/htdocs" > debug="1" > reloadable="true"> > </Context> > <Alias>anotherbigidea.com</Alias> > <Alias>www.anotherbigidea.com</Alias> > </Host> > </webapps> > > In the example above, the httpd.conf would have a ServerName of > nickmain.spinweb.net and a ServerAlias of anotherbigidea.com and > www.anotherbigidea.com. Is the Alias tag only part of Tomcat > 4, or is > there a way to do this in Tomcat 3 without duplicating the > Host tag? I > appreciate any comments or suggestions on this, as I mistakenly > transferred some domains and I'm needing to fix this one > pretty quickly. > > Duane > > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>