Date: Wed, 11 Oct 2000 17:04:45 -0300 From: "Matt Rudderham" <matt@researcher.com> To: "Daniel Domengeaux" <freebsd@supa-fly.org>, <freebsd-questions@FreeBSD.ORG> Subject: RE: Virtual Hosts & Apache Message-ID: <NDBBLEKOOLGIBFPGLFEKGEPOCEAA.matt@researcher.com> In-Reply-To: <017d01c033be$759e8620$cd2710d1@comspace.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> >as long as the ip for both www.something.com and something.com are the same >apache should be listening for all those requests. > >also if your intrested in keeping the files clean you might want to look at >the dynamic hosting module for apache, http://funkcity.com/0101/ > >-daniel The domains are name based, not IP, I have other domains operating as virtual domains on this IP besides the one mentioned, I forgot to mention I was doing name based:) - Matt >> Hi, >> I have a small question about virtual hosts in Apache, I have them up and >> runnig, but I was wondering if in the httpd.conf, if two ServerName >>options >> for the same hosts, ie, I would like both names listed to look in the same >> DocumentRoot): >> ServerName something.com >> ServerName www.something.com >> I know I could easily add another <VirtualHost> section, however I like to >> keep my files clean incase they need to grow larger later on, Any help >>would >> be appreciated. (I tried adding them as I listed them above within the >> <VirtualHost> section, however it appears to have only applied to the >>first >> name I listed in my conf) I RTFM and coundn't see this anywhere. Thanks:) >> - Matt 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?NDBBLEKOOLGIBFPGLFEKGEPOCEAA.matt>