錯誤提示:403 Forbidden You don't have permission to access / on this server.服務器
打開httpd.conf文件,修改httpd.conf文件,只須要2步驟,修改代碼,而後重啓Apache服務器,搞定。ide
一、修改如下代碼:this
<Directory />spa
Options FollowSymLinksserver
AllowOverride Noneio
Order deny,allowim
Allow from allwamp
Satisfy all 添加本行代碼img
</Directory>註釋
二、修改如下代碼:
<Directory "E:/wamp/www/">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
# Allow from 127.0.0.1 註釋掉本行代碼,加入如下代碼
Allow from all
</Directory>