Forbidden
You don't have permission to access /DuoLamPHP/index.php on this server.
Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80
记得WAMP2.2安装之后不需要设置什么,这次总是爆出Forbidden错误
修改C:\wamp\bin\apache\apache2.4.9\conf\httpd.conf文件
<Directory />
AllowOverride none
Require all denied
</Directory>
修改成:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
Satisfy all
</Directory>
Listen 0.0.0.0:82
<VirtualHost *:82>
ServerAdmin webmaster@localhost
ServerName www.toy.org
DocumentRoot "E:/wamp/www/web"
</VirtualHost>
重启Apache