Sounds like a bug that I thought was fixed already. Could you please post
a bug report so this doesn't get lost in the mail?
http://nagoya.apache.org/bugzilla/
Craig McClanahan
On Mon, 23 Jul 2001, Ben Carterette wrote:
> I cannot get my virtual host aliases to work with Tomcat 4b6.
>
> Here is my server.xml in outline form:
>
> <Server port="8005" shutdown="SHUTDOWN">
> <Service name="Tomcat-Standalone">
> <Connector className=...HttpConnector port="80" ... />
> <Engine name="Standalone" defaultHost="www.domain1.com">
> ...
> <Host name="localhost"> ... </Host>
>
> <Host name="www.domain1.com"
> appBase="/home/httpd/html/domain1.com">
> <Alias name="domain1.com"/>
> ...
> </Host>
>
> <Host name="domain2.com" appBase="/home/httpd/html/domain2.com">
> <Alias name="www.domain2.com"/>
> <Alias name="domain3.com" />
> <Alias name="www.domain3.com"/>
> ...
> </Host>
> </Engine>
> </Service>
> </Server>
>
> www.domain1.com and domain2.com work fine. Everything else takes me to
> www.domain1.com, presumably because that's the default and the server
> doesn't know about the aliases for some reason.
>
> Any help is appreciated.
>
> Thanks,
> Ben
>