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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to