pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mitch Vincent <mvincent@cablespeed.com>
To: Vince Vielhaber <vev@michvhf.com>
To: pgsql-php@postgresql.org
Subject: Re: Anyone using thttpd?
Date: Tue, 10 Jul 2001 11:38:49 -0400
Message-ID: <003901c10956$6a1c1fb0$1251000a@Mitch> (raw)
References: <Pine.BSF.4.30.0107101042290.91059-100000@paprika.michvhf.com>

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" <vev@michvhf.com>
To: <pgsql-php@postgresql.org>
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
>




view thread (3+ messages)  latest in thread

Message-ID: <003901c10956$6a1c1fb0$1251000a@Mitch>
Permalink:  ../003901c10956$6a1c1fb0$1251000a@Mitch/
Also on:    postgresql.org/message-id/003901c10956$6a1c1fb0$1251000a@Mitch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: mvincent@cablespeed.com, vev@michvhf.com
  Subject: Re: Anyone using thttpd?
  In-Reply-To: <003901c10956$6a1c1fb0$1251000a@Mitch>
  References: <Pine.BSF.4.30.0107101042290.91059-100000@paprika.michvhf.com> <003901c10956$6a1c1fb0$1251000a@Mitch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox