PDA

View Full Version : Install Phppgadmin error Forbidden



shahMK
December 16th, 2005, 12:56 PM
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 19th, 2005, 04:10 AM
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, 02:05 PM
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 15th, 2008, 01:20 AM
Thanks a lot.
this is valid for Debian lenny (apache2).

keep on guys.

hellblazer
February 29th, 2012, 12:09 PM
still works ;-)

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