tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Bell" <jbell...@btclick.com>
Subject Re: Apache 2 Tomcat4.1.27 name based virtual hosts
Date Thu, 02 Oct 2003 20:07:14 GMT
Thanks for your help.

>I am still confused.  By "is not found" what exactly is happenning?
Me too. How about a coffee?

www.capucino.co.uk is run instead of www.freshlyroastcoffee.biz.

If you run www.freshlyroastcoffee.biz and hover over a link you get
http://213.120.114.94/coffeemy/jsp/control/prodinfo.......

whereas it should be
http://www.freshlyroastcoffee.biz/coffeepp/jsp/control/prodinfo....


This is when capucino is the first virtual host ie freshlyroast is not found
and is defaulted to capucino.

However, when capucino is the second virtual host all works fine. ie
freshlyroast works cos it defaults to the first
virtual host and for some reason capucino works in second position - whereas
in second position freshlyroast does'nt.



----- Original Message ----- 
From: "David Rees" <drees@greenhydrant.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, October 02, 2003 7:41 PM
Subject: Re: Apache 2 Tomcat4.1.27 name based virtual hosts


> On Thu, October 2, 2003 1at 0:33 am, John Bell sent the following
> > Hi Dave,
> >
> > <VirtualHost *>
> > ServerName www.freshlyroastcoffee.biz
> > DocumentRoot /coffeepp
> > JkMount /* ajp13
> > etc
> > </VirtualHost>
> >
> > <VirtualHost *>
> > ServerName www.capucino.co.uk
> > DocumentRoot /coffeemy
> > JkMount /* ajp13
> > etc
> > </VirtualHost>
> >
> >
> > With this setup www.freshlyroastcoffee.biz is  found so is
> > www.capucino.co.uk.
> >
> > However, if www.capucino.co.uk is the first virtual host then
> > www.freshlyroastcoffee.biz is not found
> > and it defaults to  www.capucino.co.uk - the first default virtual host.
>
>>
> -Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message