*BSD News Article 91569


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.radio.cz!newsbastard.radio.cz!news.radio.cz!CESspool!hammer.uoregon.edu!zephyr.texoma.net!uunet!in2.uu.net!207.17.190.11!news.diac.com!news
From: sitaram@diac.com (Sitaram Chamarty)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Apache problems!
Date: Wed, 19 Mar 1997 04:22:36 GMT
Organization: none
Lines: 17
Message-ID: <332f69ad.90146724@news.diac.com>
References: <332d1a10.1376104@news.ptd.net>
Reply-To: sitaram@diac.com
NNTP-Posting-Host: p136.ts1.diac.com
X-Newsreader: Forte Free Agent 1.1/32.230
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37517

nickf@ptd.net (Nick Folino) wrote:

>I'm trying to configure Apache to allow user home pages.  It all seems
>to be setup right but when I try to connect to a users homepage
>(http://192.168.0.10/~nick) it tries to lookup my hostname, and I get
>an error: cannot resolve nexgen.nick.net.  Which is true.  My question
>is how do i make Apache send my IP instead of my hostname??  I don't
>have a DNS on my local network and don't really need one ( unless of
>course Apache will force me to ) :-)
>

I had the exact same problem.  Use this:
    ServerName 192.168.0.10
where you now (probably) have
    ServerName nexgen.nick.net

Worked for me...