Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 1996 16:57:21 -0600 (CST)
From:      Mark Tinguely <tinguely@plains.nodak.edu>
To:        questions@freebsd.org, scott@agency.com
Subject:   Re: Virtual Domains
Message-ID:  <199602062257.QAA07080@plains.nodak.edu>

Next in thread | Raw E-Mail | Index | Archive | Help
assuming you have the multi-honing aliases already.

in conf/httpd.conf add for each host you server:

<VirtualHost www.host1.com>
      ServerName www.host1.com
      ServerAdmin tinguely@mail.dom.com
      DocumentRoot /usr/local/etc/httpd/host1
      ResourceConfig conf/srm_host1.conf
</VirtualHost>

<VirtualHost www.host2.com>
      ServerName www.host2.com
      ServerAdmin tinguely@mail.dom.com
      DocumentRoot /usr/local/etc/httpd/host2
      ResourceConfig conf/srm_host2.conf
</VirtualHost>

notice you need a different root directory and "srm" configuratrion file.

--mark.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199602062257.QAA07080>