Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

http://localhost/phppgadmin/ -> 403 Forbidden

I try to install postgreSql on my wampserver

So I follow some tutorial and some other...

But when I access to localhost/phppgadmin/, an error occurs:

Forbidden

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

Though I active php_pgsql and php_pdo_pgsql in PHP extensions...

My phppgadmin.conf:

# File phppgadmin.conf
Alias /phppgadmin "C:/wamp/apps/phppgadmin5.1/"

<Directory "C:/wamp/apps/phppgadmin5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>

Thanks for help !

like image 989
Macbernie Avatar asked Jun 25 '14 16:06

Macbernie


1 Answers

I solve the problem by entering the line:

Require local

in the phppgadmin.conf:

# Fichier phppgadmin.conf
Alias /phppgadmin "C:/wamp/apps/phppgadmin5.1/"

<Directory "C:/wamp/apps/phppgadmin5.1/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
    Require local
    Order Deny,Allow
    Allow from all
</Directory>
like image 122
Macbernie Avatar answered Oct 31 '22 14:10

Macbernie