[ringzero] Re: (OT) Apache Named Virtual Hosting question

  • From: Michael Kjorling <michael@xxxxxxxxxxxx>
  • To: ringzero@xxxxxxxxxxxxx
  • Date: Fri, 2 Feb 2007 14:29:49 +0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2007-02-02 15:00 +0100, gstewart@xxxxxxxxxxx wrote:
>> <VirtualHost 192.168.1.10:80>
>>      DocumentRoot /www/htdocs
>>      ServerName www.robertwittig.net
>>      </VirtualHost>
>> 
>> <VirtualHost 192.168.1.10:80>
>>      DocumentRoot /www/dotorg
>>      ServerName www.robertwittig.org
>>      </VirtualHost>
> 
> If you want both sites to share the same document tree then you'll have
> to give them both the same DocumentRoot.

Or there is the ServerAlias directive.

Do you have a proper NameVirtualHost directive (which needs to be
placed outside of any VirtualHost container)?
 
- -- 
Michael Kjörling, michael@xxxxxxxxxxxx - http://michael.kjorling.com/
* ..... No bird soars too high if he soars with his own wings ..... *
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* PGP/GnuPG encrypted e-mail preferred * OpenPGP key ID: 0xBDE9ADA6 *

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFw0rddY+HSb3praYRAjVHAJ9tP7yjT+/ANW2DESdNj3gAH4gxqwCgry3M
2K3gr0RyP5s23WZU+gL4xo0=
=Ht52
-----END PGP SIGNATURE-----
-- 
You are receiving this message as part of your subscription to the
"ringzero" mailing list at freelists.org. To unsubscribe, send an e-mail
to ringzero-request@xxxxxxxxxxxxx?subject=unsubscribe

Other related posts: