*BSD News Article 52292


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!in1.uu.net!usc!usc!elroy.jpl.nasa.gov!swrinde!ringer.cs.utsa.edu!news.cais.net!news.cais.com!dialin_3
From: jsloan@livnet.com (Jim Sloan)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: httpd -h host option question
Date: Mon, 02 Oct 95 16:14:40 GMT
Organization: LiveNet
Lines: 46
Message-ID: <44p37b$51h@news.cais.com>
References: <44nl2p$fp3@SNEEZY.icinet.net>
NNTP-Posting-Host: 205.138.8.103

In article <44nl2p$fp3@SNEEZY.icinet.net>, larryt@goldrush.com wrote:
>Does anyone know how to run multiple https for different IP address with 
different directories?  
>I am trying to host virtual domains.  I used the following command:
>
>httpd  -h www.domain.com -d /var/domain -f /var/domain/conf/httpd.conf
>
>I have setup the /var/domain with the following files:
>
>/var/domain/cgi-bin
>/var/domain/conf (updated config files)
>/var/domain/docs (updated html files)
>/var/domain/icons
>
>www.domain.com is registered and on my name server.
>
>when I reference http://www.domain.com I get the documents from the other 
httpd server (which is run from rc).
>
>Any help would be appreciated.
>
>I have installed the U200-14 patch.
>
>--Larry
>
>
Don't use the httpd that comes with BSDI, get Apache, NCSA or CERN (the 
latter two require patches) for multi-domain httpd access.  I use Apache and 
it works great.  Haven't had one problem with it since I started using it, and 
easily add domains as needed.

http://www.apache.org for Apache source.  

Even though there is no mention of BSDI support, it compiles fine and works 
like a champ, just need to make a few changes to httpd.h befoce running make.

these are a couple of the sites we have on our server if you wish to see how 
this runs.

http://www.idevelop.com
http://www.homeexpo.com
http://www.baby-boutique.com

Jim Sloan
LiveNet, Inc.
http://www.livnet.com