今天重装系统后又安装了wamp2.5,安装之后发现打开wamp本地出现You don't have permission to access / on this server
到网上看看有没有解决的办法,结果都是把Apache 配置文件中的
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
改成
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
试了一下还是不行
顺着这个思路下去,我仔细的看了配置文件发现只要(我的wamp是在E盘)
<Directory "E:/wamp/www/">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
改成
<Directory "E:/wamp/www/">
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
</Directory>
重新启动Apach服务器就可以了