FreeBSD/Postgres/Apache+PHP

From: babak badaei <badaei(at)yahoo(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: FreeBSD/Postgres/Apache+PHP
Date: 2011-03-31 19:21:33
Message-ID: 958436.65284.qm@web111304.mail.gq1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello Postgres Community,

Thank you guys very much for PostgreSQL. To me, its the best database management system under the sun. I am setting up a new jail configuration on FreeBSD with sockets and everything enabled. I can ping localhost fine. The problem is that when I load a script that connects to the database, Postgres says Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "x.x.x.x" (my actual web IP). I have done the following on the host machine:
I'd like Apache/PHP to just connect to Postgres localhost, not via the jail's IP--thus, no change to pg_hba.conf is needed. 

If you guys have any suggestions it would be very much appreciated!

PS. I mistakenly sent this email to pgsql-admin but I realize it should go to here (i think). 

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2011-03-31 19:44:52 Re: FreeBSD/Postgres/Apache+PHP
Previous Message Mike Orr 2011-03-31 19:19:45 Re: Counting records in a child table