martes, 4 de junio de 2013

Configurar postgresl para accesar desde cualquier parte

I successfully install phppgadmin and access using http://localhost/phppgadmin got no problem.
But access using IP address from another PC http://10.1.16.26/phppgadmin getting below error.

Forbidden
You don't have permission to access /phppgadmin on this server.

I managed to solve it myself as below

sudo /etc/apache2/apache2.conf

unmark "allow from all" under the <DirectoryMatch /usr/share/phppgadmin/>

restart apache2 using /etc/init.d/apache2 restart

poner en el config para poder accesar como postgresql

$conf['extra_login_security'] = false;