*BSD News Article 67229


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!imci3!imci4!newsfeed.internetmci.com!howland.reston.ans.net!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!cityscape.co.uk!usenet
From: Douglas@Beyond2000.co.uk (Douglas Reay)
Newsgroups: comp.protocols.tcp-ip,comp.unix.bsd.freebsd.misc,comp.infosystems.www.servers.unix
Subject: Virtual Hosts for Apache under FreeBSD
Date: 30 Apr 1996 14:21:36 GMT
Organization: Beyond 2000 Ltd
Lines: 33
Message-ID: <4m57lg$374@news.cityscape.co.uk>
Reply-To: Douglas@Beyond2000.co.uk
NNTP-Posting-Host: 194.217.248.200
X-Newsreader: WinVN 0.92.6+
Xref: euryale.cc.adfa.oz.au comp.protocols.tcp-ip:44170 comp.unix.bsd.freebsd.misc:18369 comp.infosystems.www.servers.unix:13277

I am running an apache-0.8.14 web server on an intel PC under FreeBSD 2.1

Apache can support virtual hosts.  IE if two ip numbers point to the machine
the server runs on, then the server will return a different home page depending
on which ip number was used to access it.

Under Solaris this is easy to set up, using ifconfig le0.
Under SunOS I got it working by using the VIF kernel patch
<URL:http://www.apache.org/docs/vif.info>

Under FreeBSD I have no idea.  The FAQs didn't seem to help and 
nor does the Apache web site.

So ... does anybody have a FreeBSD port of the VIF patch, or otherwise
know how to set FreeBSD up to listen on multiple ip numbers? 


Yours gratefully,
		 Douglas Reay
		 Douglas@Beyond2000.co.uk
                 Sysadmin for Beyond2000



PS For more information on Virtual Interfaces see:
     JOHN IOANNIDIS, DAN DUCHAMP, GERALD Q. MAGUIRE JR., and STEVE DEERING: 
     Protocols for Supporting Mobile IP Hosts. Internet-Draft for the 
     Mobile Hosts Working Group, May 1992.
or <URL:ftp://ftp.cs.columbia.edu/reports/reports-1991/cucs-006-91b.ps.Z>