pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Anyone using thttpd?
3+ messages / 2 participants
[nested] [flat]

* Anyone using thttpd?
@ 2001-07-10 15:02 Vince Vielhaber <vev@michvhf.com>
  2001-07-10 15:38 ` Re: Anyone using thttpd? Mitch Vincent <mvincent@cablespeed.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Vince Vielhaber @ 2001-07-10 15:02 UTC (permalink / raw)
  To: pgsql-php


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
==========================================================================






^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Anyone using thttpd?
  2001-07-10 15:02 Anyone using thttpd? Vince Vielhaber <vev@michvhf.com>
@ 2001-07-10 15:38 ` Mitch Vincent <mvincent@cablespeed.com>
  2001-07-10 15:49   ` Re: Anyone using thttpd? Vince Vielhaber <vev@michvhf.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Mitch Vincent @ 2001-07-10 15:38 UTC (permalink / raw)
  To: Vince Vielhaber <vev@michvhf.com>; pgsql-php

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
>




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Anyone using thttpd?
  2001-07-10 15:02 Anyone using thttpd? Vince Vielhaber <vev@michvhf.com>
  2001-07-10 15:38 ` Re: Anyone using thttpd? Mitch Vincent <mvincent@cablespeed.com>
@ 2001-07-10 15:49   ` Vince Vielhaber <vev@michvhf.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Vince Vielhaber @ 2001-07-10 15:49 UTC (permalink / raw)
  To: Mitch Vincent <mvincent@cablespeed.com>; +Cc: pgsql-php

On Tue, 10 Jul 2001, Mitch Vincent wrote:

> 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).

Doesn't it use the resolver libraries?  Anyway I just looked and it
already has the entry :(   But if it doesn't use the libraries I may
have some hacking to do.

Vince.



>
> -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
> >
>
>

-- 
==========================================================================
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
==========================================================================






^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2001-07-10 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-07-10 15:02 Anyone using thttpd? Vince Vielhaber <vev@michvhf.com>
2001-07-10 15:38 ` Mitch Vincent <mvincent@cablespeed.com>
2001-07-10 15:49   ` Vince Vielhaber <vev@michvhf.com>

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