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 Wed, 01 Oct 2003 19:00:32 GMT
Dave,

I tried putting the JkMount in the Virtual Hosts section instead of in
mod_jk.conf but it did not seem to make
any difference.
I did leave mod_jk.conf in as there is other localhost stuff in it  +
JkWorkersFile "D:/ApacheTomcat/Tomcat-4.1/conf/jk/workers.properties"

JkLogFile "D:/ApacheTomcat/Tomcat-4.1/logs/mod_jk.log"

Regards,

----- Original Message ----- 
From: "David Rees" <dbr@greenhydrant.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, October 01, 2003 5:56 PM
Subject: Re: Apache 2 Tomcat4.1.27 name based virtual hosts


> On Wed, October 1, 2003 at 2:02 am, John Bell sent the following
> >
> > In Apache http.conf I have name based virtual hosts.
> >
> > If I have capucino.co.uk as the first virtual host (default) then a
> > request to freshlyroastcoffee.biz is ignored
> >
> > and www.freshlyroastcoffee.biz goes to the capucino site.
> >
> > If I put freshlyroastcoffe first then all is fine and capucino is picked
> > up but I cannot see where I am going wrong
> >
> > whether its a typo or just got it wrong.
> <snip>
>
> Your Apache configuration is broken.  Make it look like below instead of
> including your mod_jk.conf.  The JkMount directive needs to go inside of
> each VirtualHost.
>
> -Dave
>
> NameVirtualHost *
>
> <VirtualHost *>
> ServerAdmin sales@capucino.co.uk
> DocumentRoot /coffeemy
> ServerName www.capucino.co.uk
> ErrorLog logs/capucino.error_log
> CustomLog logs/capucino.co.uk-access_log combined
> JkMount /coffeemy ajp13
> JkMount /coffeemy/* ajp13
> JkMount /coffeemy/*.jsp ajp13
> </VirtualHost>
>
> <VirtualHost *>
> ServerAdmin sales@capucino.co.uk
> DocumentRoot /coffeepp
> ServerName www.freshlyroastcoffee.biz
> ErrorLog logs/freshlyroastcoffee.error_log
> CustomLog logs/freshlyroastcoffee.biz-access_log combined
> JkMount /coffeepp ajp13
> JkMount /coffeepp/* ajp13
> JkMount /coffeepp/*.jsp ajp13
> </VirtualHost>
>
>
> ---------------------------------------------------------------------
> 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