Freebsd/Postgres/Apache+PHP

From: babak badaei <badaei(at)yahoo(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Freebsd/Postgres/Apache+PHP
Date: 2011-03-31 19:18:38
Message-ID: 996772.55686.qm@web111305.mail.gq1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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!

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message dx k9 2011-03-31 20:04:09 shared_preload_libraries
Previous Message raghu ram 2011-03-31 15:42:16 Re: drive failure