【发布时间】:2017-10-31 16:49:25
【问题描述】:
我可以在 phppgadmin 中使用http://localhost/phppgadmin/ 访问我的 postgres 数据库
但是当我尝试使用我的 IP 地址http://10.128.0.128/phppgadmin/ 在 phppgadmin 中打开我的数据库时,它无法工作:
Forbidden
You don't have permission to access /phppgadmin/ on this server.
Apache/2.4.7 (Ubuntu) Server at 10.128.0.128 Port 80
有没有人可以解决我的问题?谢谢。
我已将 phppgadmin 文件编辑为:
DirectoryIndex index.php
AllowOverride None
order deny,allow
deny from all
allow from 10.128.0.128/255.0.0.0 ::1/128
allow from all
但是还是不行……
【问题讨论】:
标签: database postgresql postgresql-9.1