HTTP://本地主机/ phpPgAdmin的/ - > 403禁止 [英] http://localhost/phppgadmin/ -> 403 Forbidden

查看:206
本文介绍了HTTP://本地主机/ phpPgAdmin的/ - > 403禁止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试着在我的 wampserver

所以我遵循一些教程和其他一些。 ..

So I follow some tutorial and some other...

但是,当我访问本地主机/ phpPgAdmin的/ ,发生错误:

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

Forbidden

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

虽然我主动php_pgsql和php_pdo_pgsql在PHP扩展...

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

我phppgadmin.conf:

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>

感谢您的帮助!

推荐答案

我通过输入线解决问题:

I solve the problem by entering the line:

Require local

在phppgadmin.conf:

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>

这篇关于HTTP://本地主机/ phpPgAdmin的/ - &GT; 403禁止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆