From owner-freebsd-questions Tue Feb 20 17:22:46 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA22198 for questions-outgoing; Tue, 20 Feb 1996 17:22:46 -0800 (PST) Received: from baygull.rtd.com (baygull.rtd.com [198.102.68.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA22186 for ; Tue, 20 Feb 1996 17:22:44 -0800 (PST) Received: (from news@localhost) by baygull.rtd.com (8.6.9/8.6.9.1) id SAA08416; Tue, 20 Feb 1996 18:22:31 -0700 To: questions@freebsd.org Path: freefall.freebsd.org!owner-freebsd-questions From: tim@fifth-avenue.com (tim kelley) Newsgroups: rtd.freebsd.questions Subject: Apache and Virt. Hosts Date: Sat, 18 Mar 1995 02:27:39 +0000 () Lines: 37 Message-ID: NNTP-Posting-Host: seagull.rtd.com 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