[AuthPG] Server connection problem
Brought to you by:
minskim
From: Aaron \Nemesis\ L. <li...@ui...> - 2002-12-06 16:30:17
|
Hello, I am having trouble getting mod_auth_pg to work correctly with my postgresql server. I keep getting a cannot connect to server error even though I have checked my pg_hba.conf file and edited the postgresql init script to add the -o -i options on startup. Any help would be great. Here are the error and the .htpasswd file. --------------- Error in /usr/local/apache/logs/error_log ---------------- [Fri Dec 6 10:09:13 2002] [error] (115)Operation now in progress: access to /auth failed for xxx.xxx.xxx.xxx, reason: Could not connect to postgreSQL backend (could not connect to server: Connection refused Is the server running on host www.aaronlippold.com and accepting TCP/IP connections on port 5432? ----------- .htpasswd ------------------------ AuthName "myauth" AuthType Basic AuthPGHost www.aaronlippold.com AuthPGUser www AuthPGPassword wwwpw AuthPGDatabase mydb AuthPGUserTable users AuthPGPasswordField password AuthPGUserNameField username require valid-user Thank you very much for you time and help. Yours, Aaron Lippold |