本文共 451 字,大约阅读时间需要 1 分钟。
安装完毕后,访问http://localhost:8080/,出现错误:HTTP 错误 403 - 禁止访问,即403 Forbidden:You don't have permission to access / on this server.
马上打开apache的配置文件httpd.conf,逐行检查。在大约快一半的地方有以下这段代码:
<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> |
这里的“Deny from all”已经拒绝了一切连接。
修改上述参数
<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Allow from all </Directory> |
重启Apache,问题解决。
转载地址:http://qaqll.baihongyu.com/