本文介绍了http://localhost/phppgadmin/->403 禁地的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试在我的 wampserver
所以我遵循一些教程和其他一些...
So I follow some tutorial and some other...
但是当我访问localhost/phppgadmin/
时,出现错误:
But when I access to localhost/phppgadmin/
, an error occurs:
Forbidden
You don't have permission to access /phppgadmin/ on this server.
虽然我在 PHP 扩展中激活了 php_pgsql 和 php_pdo_pgsql...
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>
感谢您的帮助!
推荐答案
我输入行解决问题:
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://localhost/phppgadmin/->403 禁地的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!