1.apache修改httpd.conf文件 所在位置wamp\bin\apache\apache2.4.9\conf\httpd.conf
2. 文件的244行左右
<Directory />AllowOverride noneRequire all denied
</Directory>
修改为
<Directory />AllowOverride noneRequire all denied
</Directory>
3.文件的228行
onlineoffline tag - don't removeRequire local
修改为onlineoffline tag - don't removeRequire localRequire all granted
4.重启