首页 > 代码库 > WAMP2.5 Forbidden

WAMP2.5 Forbidden

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>

重启Apache