Re: Anyone using thttpd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxx>
> To: <pgsql-php@xxxxxxxxxxxxxx>
> 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@xxxxxxxxxxx    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@xxxxxxxxxxxxxx
> >
>
>

-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: vev@xxxxxxxxxxx    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 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html





[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux