Received: from mail2.mx.voyager.net (mail2.mx.voyager.net [216.93.66.201]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6AFcxa55408 for ; Tue, 10 Jul 2001 11:38:59 -0400 (EDT) (envelope-from mvincent@cablespeed.com) Received: from Mitch (216-93-124-123.mdmmi.voyager.net [216.93.124.123]) by mail2.mx.voyager.net (8.10.2/8.10.2) with SMTP id f6AFeNJ21316; Tue, 10 Jul 2001 11:40:23 -0400 (EDT) Message-ID: <003901c10956$6a1c1fb0$1251000a@Mitch> From: "Mitch Vincent" To: "Vince Vielhaber" , References: Subject: Re: Anyone using thttpd? Date: Tue, 10 Jul 2001 11:38:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200107/7 X-Sequence-Number: 464 What's in /etc/hosts ? 127.0.0.1 localhost localhost.mydomain.com devbox.mydomain.com That's what I have for localhost, works pretty nicely (FreeBSD 4.3). -Mitch ----- Original Message ----- From: "Vince Vielhaber" To: Sent: Tuesday, July 10, 2001 11:02 AM Subject: [PHP] Anyone using thttpd? > > I just set up thttpd on FreeBSD 4.2 with php and postgresql. Everything > is working except name resolution. I have to specify host in my connect > string, even tho it's the localhost, but I can't even just say localhost > I have to give it 127.0.0.1. I get unknown host errors. Giving it a > name of another machine won't resolve either, I have to provide the IP of > the host. If I move the php script to the apache server host=localhost > works fine (although I still have to specify the host). > > The machine has no problems with forward and reverse dns from the command > line and the perms on /etc/resolv.conf are fine (got burned by an HP once > with that). > > Anyone have any ideas? > > Vince. > -- > ========================================================================== > Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net > 56K Nationwide Dialup from $16.00/mo at Pop4 Networking > Online Campground Directory http://www.camping-usa.com > Online Giftshop Superstore http://www.cloudninegifts.com > ========================================================================== > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >