Date: Fri, 11 Aug 2000 13:13:13 -0400 (EDT) From: Stephen Hovey <shovey@buffnet.net> To: Kisanak <kisanak@cbn.net.id> Cc: questions@FreeBSD.ORG Subject: Re: Name-based vhosts only Message-ID: <Pine.BSF.4.05.10008111312400.15229-100000@buffnet11.buffnet.net> In-Reply-To: <NEBBLICCKKPKJABLGBLMKEHKCHAA.kisanak@cbn.net.id>
next in thread | previous in thread | raw e-mail | index | archive | help
I have it working - be sure you have a serveralias line with all the possible varients (iw www alone for local users, domain.com for thos who go in that way etc) On Fri, 11 Aug 2000, Kisanak wrote: > Anyone has ever succeded configuring Name-based vhosts only > using Apache/1.3.12 (Unix)? > > I try configure the httpd.conf like this: > > NameVirtualHost ip_address_of_domain > <VirtualHost ip_address_of_domain> > DocumentRoot /usr/local/share/doc/virtualdomain > ServerName www.somedomain.com > <Directory /usr/local/share/doc/virtualdomain> > Options IncludesNOEXEC FollowSymLinks ExecCGI > AllowOverride None > Allow from all > </Directory> > </VirtualHost> > > but it always give me the same page from: > DocumentRoot "/usr/local/www/data" > > Thanks for any helps. > Regards, > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10008111312400.15229-100000>