You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "PELOQUIN,JEFFREY (HP-Boise,ex1)" <je...@hp.com> on 2003/04/04 19:36:49 UTC
RE: mod_jk2 / Apache 2 / mod_rewrite virtual hosts
If you are not using ssl you may wish to consider name based virtual hosting
<VirtualHost *>
ServerName domain.com
</VirtualHost>
<VirtualHost *>
ServerName domain.net
mod_jk stuff
</VirtualHost>
the apache documentation goes into this more fully
-----Original Message-----
From: Marc Boorshtein [mailto:mboorshtein@yahoo.com]
Sent: Friday, April 04, 2003 10:40 AM
To: Tomcat Users List
Subject: mod_jk2 / Apache 2 / mod_rewrite virtual hosts
Hello,
I am trying to setup tomcat running on a machine that uses mod_rewrite
seperate requests between two domains, domain.com and domain.net. I
want to setup domain.net to integrate with tomcat, but only that
domain. I am not using the <VirtualHost> directive at all, as I only
have 1 IP. Is there a straight forward way to configure mod_jk2 to use
just that one domain, or do I need to use some creative re-writing for
that as well?
Thanks
Marc Boorshtein
--
Marc Boorshtein <mb...@yahoo.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: mod_jk2 / Apache 2 / mod_rewrite virtual hosts
Posted by Marc Boorshtein <mb...@yahoo.com>.
I think this works without mass hosting. This won't work though with
mass hosting though.
marc
On Fri, 2003-04-04 at 12:54, Marc Boorshtein wrote:
> I tried that, but it would all ways default to the first VirtualHost.
>
> Marc
>
> On Fri, 2003-04-04 at 12:36, PELOQUIN,JEFFREY (HP-Boise,ex1) wrote:
> > If you are not using ssl you may wish to consider name based virtual hosting
> >
> > <VirtualHost *>
> > ServerName domain.com
> > </VirtualHost>
> >
> > <VirtualHost *>
> > ServerName domain.net
> > mod_jk stuff
> > </VirtualHost>
> >
> > the apache documentation goes into this more fully
> >
> >
> > -----Original Message-----
> > From: Marc Boorshtein [mailto:mboorshtein@yahoo.com]
> > Sent: Friday, April 04, 2003 10:40 AM
> > To: Tomcat Users List
> > Subject: mod_jk2 / Apache 2 / mod_rewrite virtual hosts
> >
> >
> > Hello,
> >
> > I am trying to setup tomcat running on a machine that uses mod_rewrite
> > seperate requests between two domains, domain.com and domain.net. I
> > want to setup domain.net to integrate with tomcat, but only that
> > domain. I am not using the <VirtualHost> directive at all, as I only
> > have 1 IP. Is there a straight forward way to configure mod_jk2 to use
> > just that one domain, or do I need to use some creative re-writing for
> > that as well?
> >
> > Thanks
> > Marc Boorshtein
--
Marc Boorshtein <mb...@yahoo.com>
RE: mod_jk2 / Apache 2 / mod_rewrite virtual hosts
Posted by Marc Boorshtein <mb...@yahoo.com>.
I tried that, but it would all ways default to the first VirtualHost.
Marc
On Fri, 2003-04-04 at 12:36, PELOQUIN,JEFFREY (HP-Boise,ex1) wrote:
> If you are not using ssl you may wish to consider name based virtual hosting
>
> <VirtualHost *>
> ServerName domain.com
> </VirtualHost>
>
> <VirtualHost *>
> ServerName domain.net
> mod_jk stuff
> </VirtualHost>
>
> the apache documentation goes into this more fully
>
>
> -----Original Message-----
> From: Marc Boorshtein [mailto:mboorshtein@yahoo.com]
> Sent: Friday, April 04, 2003 10:40 AM
> To: Tomcat Users List
> Subject: mod_jk2 / Apache 2 / mod_rewrite virtual hosts
>
>
> Hello,
>
> I am trying to setup tomcat running on a machine that uses mod_rewrite
> seperate requests between two domains, domain.com and domain.net. I
> want to setup domain.net to integrate with tomcat, but only that
> domain. I am not using the <VirtualHost> directive at all, as I only
> have 1 IP. Is there a straight forward way to configure mod_jk2 to use
> just that one domain, or do I need to use some creative re-writing for
> that as well?
>
> Thanks
> Marc Boorshtein
--
Marc Boorshtein <mb...@yahoo.com>