Apache Help

Michael Pratt mtpratt at swbell.net
Fri Mar 1 03:31:39 CST 2002


This is Driving me bonkers!  IF I get rid od the primary website out of the
virtual directory It works but if I add it back in all that comes up on both
Domains it the Primary domain!!! UUUUUUHHHHHHHG!!!!! :((((((

Mike
----- Original Message -----
From: "Brian Densmore" <DensmoreB at ctbsonline.com>
To: <mtpratt at swbell.net>; <kclug at kclug.org>
Sent: Thursday, February 28, 2002 12:21 PM
Subject: RE: Apache Help

> Mike,
>
>   What does your: listen , bindaddress, usecanonicalname,
> hostnamelookups lines look like?  Also what about the directory settings
> lines. You might try adding a document root line in each of the virtual
> domains.
>
> brian
> > -----Original Message-----
> > From: Michael Pratt [mailto:mtpratt1971 at hotmail.com]
> > Sent: Thursday, February 28, 2002 11:56 AM
> > To: kclug at kclug.org
> > Subject: Apache Help
> >
> >
> > I am trying to set up multiple domains using one IP  I have
> > this in my
> > httpd.conf
> >
> > NameVirtualHost <DSL IP ADDRESS>
> >
> > <VirtualHost domain1.net>
> > DocumentRoot /var/www/html
> > ServerName domain1.net
> > </VirtualHost>
> >
> > <VirtualHost domain2.org>
> > DocumentRoot /var/www/html/domain2
> > ServerName domain2.org
> > </VirtualHost>
> >
> > The problem I have is no matter what domain I put in it goes
> > to domain1.net
> >
> > how can I set Apache up to point Domain1 to /var/www/html and
> > Domain2 to
> > /var/www/html/domain2?
> >
> >
> > Thanks!
> >
> > Mike
> >
> > _________________________________________________________________
> > MSN Photos is the easiest way to share and print your photos:
> > http://photos.msn.com/support/worldwide.aspx
> >
> >
> >
> > majordomo at kclug.org
> >
>
>




More information about the Kclug mailing list