hmmm, that would usuaully mean that the domain name entered into the browser did not match any of the domain names listed in the virtual host. To the best of my knowledge, www.domain.net is distinct from domain.net with respect to apache domain name based virtual hosting. could that have been an issue.
there should be a Serveralias directive to specify alternative form for the domain -----Original Message----- From: Marc Boorshtein [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 10:55 AM To: Tomcat Users List Subject: RE: mod_jk2 / Apache 2 / mod_rewrite virtual hosts 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]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
