From owner-freebsd-questions Wed Feb 21 16:31:29 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA13842 for questions-outgoing; Wed, 21 Feb 1996 16:31:29 -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 QAA13832 for ; Wed, 21 Feb 1996 16:31:26 -0800 (PST) Received: (from tim@localhost) by fifth-avenue.com (8.6.12/8.6.12) id DAA05528; Sun, 19 Mar 1995 03:15:26 GMT Date: Sun, 19 Mar 1995 03:15:26 +0000 () From: tim kelley To: questions@freebsd.org Subject: apache 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