From: Robby Russell <rrussell@commandprompt.com>
To: Cath Lawrence <Cath.Lawrence@anu.edu.au>
Cc: pgsql-php@postgresql.org
Subject: Re: authentication question
Date: Wed, 06 Aug 2003 23:37:04 -0400
Message-ID: <3F31C960.30309@commandprompt.com> (raw)
In-Reply-To: <43AF36DA-C8A0-11D7-9EC1-00039390F614@anu.edu.au>
References: <43AF36DA-C8A0-11D7-9EC1-00039390F614@anu.edu.au>
Cath Lawrence wrote:
> On Thursday, August 7, 2003, at 01:12 PM, Robby Russell wrote:
>
>> Cath Lawrence wrote:
>> I'm not sure if this will help you or not, but try adding this to the
>> bottom (seen this as a common practice)
>> # reject all connections from all hosts not granted above
>> host all 0.0.0.0 0.0.0.0 reject
>
>
> D'oh! That does it. Thanks Robby.
> Blindly copy'n'paste-ing a line with the wrong netmask did NOT help!
>
> But while I'm here - how does PHP connect? If rejecting connections
> from the local machine and from 127.0.0.1 didn't do the trick, why
> not? (Or is that getting into network issues and I needed the host's
> IP address?)
Cath,
It depends, is the php (on apache I assume) running on the same machine?
If it is, than usually rejecting 127.0.0.1 will do the trick (given that
the /etc/hosts file has an entry for localhost). If it's a remote
connection, than you will need to look at all your configuration
settings to try and determine this issue.
Glad that other bit of info helped though.
--
Robby Russell, | Sr. Administrator / Lead Programmer
Command Prompt, Inc. | http://www.commandprompt.com
rrussell@commandprompt.com | Telephone: (503) 222.2783
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: rrussell@commandprompt.com, Cath.Lawrence@anu.edu.au
Subject: Re: authentication question
In-Reply-To: <3F31C960.30309@commandprompt.com>
References: <43AF36DA-C8A0-11D7-9EC1-00039390F614@anu.edu.au> <3F31C960.30309@commandprompt.com>
* 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