在wampserver上单击左键,打开菜单中Apache下的httpd.conf
注视掉以下代码
<Directory “C:/wamp/www”>
Deny from all
Allow from 127.0.0.1
</Directory>
修改为:
<Directory “C:/wamp/www”>
Allow from all
</Directory>
Deny from all
Allow from 127.0.0.1
</Directory>