I caught my error.  The description can be found on this page:

   http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html

Basically I had a syntax error with the Alias tag and the tag *must* be 
present before the Context tag.  A corrected version of the webapp below 
would be:

<webapps>
         <Host name="nickmain.spinweb.net">
          <Alias name="anotherbigidea.com" />
          <Alias name="www.anotherbigidea.com" />
          <Context path=""
            docBase="/usr/local/apache/sites/anotherbigidea.com/htdocs"
            debug="1"
            reloadable="true">
          </Context>
         </Host>
</webapps>

Duane

On Tuesday, May 14, 2002, at 12:14 PM, Duane Gran wrote:

> 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:tomcat-user-
> [EMAIL PROTECTED]>


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

Reply via email to