From owner-freebsd-questions Tue Feb 20 15:43:51 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA15077 for questions-outgoing; Tue, 20 Feb 1996 15:43:51 -0800 (PST) Received: from fifth-avenue.com (fifth-avenue.com [206.215.163.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA15065 for ; Tue, 20 Feb 1996 15:43:47 -0800 (PST) Received: (from tim@localhost) by fifth-avenue.com (8.6.12/8.6.12) id CAA03120; Sat, 18 Mar 1995 02:27:39 GMT Date: Sat, 18 Mar 1995 02:27:39 +0000 () From: tim kelley To: questions@freebsd.org Subject: Apache and Virt. Hosts Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk Hi, Has anyone out there configured Apache to successfully run Virtual Hosts along the following lines: -- a server with an IP address of 204.216.163.3 answering to "www.foo.com" (this I have done) -- now, can I make an IP address of 204.216.163.100 answering to "www.foobar.com" ? -- now, can I make an IP address of 204.216.163.101 answering to "www.foobarfoo.com" ? Questions are: 1.) In the config files for the host machine, do I need to make the second and third IP addresses available to config files in FreeBSD or does Apache just handle that? If the former, how do I do this? 2.) Can you give me a sense of the Virtual Host syntax to use in the httpd.conf file? 3.) What exactly does the .htaccess file do (in srm.conf)? Finally, is there a port of NCSA's 1.4 httpd for FreeBSD? Where? Thanks, Tim