Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2000 16:56:31 -0300
From:      "Matt Rudderham" <matt@researcher.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   OT: Virtual Hosts & Apache
Message-ID:  <NDBBLEKOOLGIBFPGLFEKIEPNCEAA.matt@researcher.com>

next in thread | raw e-mail | index | archive | help
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?NDBBLEKOOLGIBFPGLFEKIEPNCEAA.matt>