PDA

View Full Version : Install Phppgadmin error Forbidden


shahMK
December 16th, 2005, 07:56 AM
Hi,

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.

Pls help.

--shahMK

shahMK
December 18th, 2005, 11:10 PM
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


Thanks.

Tookie
March 28th, 2008, 09:05 AM
Hello,

I had exactly the same error and I only found the answer here. Many thanks !!
But there's just a little mistake : the file to change is (now)

/etc/apache2/conf.d/phppgadmin.conf

And if you do not want to "allow from all" you just have to enter a new line :

allow from yourIP/mask

Thanks !

carlos22
December 14th, 2008, 08:20 PM
Thanks a lot.
this is valid for Debian lenny (apache2).

keep on guys.

hellblazer
February 29th, 2012, 07:09 AM
still works ;-)

overdrank
February 29th, 2012, 07:18 AM
http://img147.imageshack.us/img147/5451/necromancing.jpg