Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!uwm.edu!newsfeed.internetmci.com!usenet.eel.ufl.edu!arclight.uoregon.edu!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: Re: Virtual Hosts for Apache under FreeBSD Date: 1 May 1996 11:46:43 GMT Organization: Beyond 2000 Ltd Lines: 29 Message-ID: <4m7iv3$9eq@news.cityscape.co.uk> References: <4m57lg$374@news.cityscape.co.uk> <4m5nei$ct2@goombay.irbs.com> 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:44205 comp.unix.bsd.freebsd.misc:18463 comp.infosystems.www.servers.unix:13352 In article <4m5nei$ct2@goombay.irbs.com>, jc@irbs.com (John Capo) says: > >In article <4m57lg$374@news.cityscape.co.uk>, >Douglas Reay <Douglas@Beyond2000.co.uk> wrote: >>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. >> >[...] >>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? >> > >No patches needed. ifconfig xx alias 1.2.3.4 netmask 0xffffffff > >where xx is the interface name. Man ifconfig for more details. > >John Capo jc@irbs.com >IRBS Engineering FreeBSD Servers and Workstations >(954) 792-9551 Internet Consulting - ISP Solutions Yep, that works. I was thrown by the different interface name and ifconfig formats compared with Solaris. Thanks to everybody for their help. Douglas Reay