在通过 WAMPserver 安装 Apache 时,http.conf
设置为
<Directory "c:/WAMP/www/">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
该hosts
文件设置为
127.0.0.1 awesomedudes
127.0.0.1 localhost
但是,只有http://awesomedudes
正确c:/WAMP/www
。http://localhost
而是返回以下内容:
403 Forbidden
You don't have permission to access / on this server.
有任何想法吗?