You don't have permission to access

作者:小小谷 | 创建时间: 2023-05-04
解决部署wampserver后,访问网页出现You don't have permission to access / on this server问题...
You don't have permission to access

操作方法

说明 本教程所对应的软件版本: wampserver:1.6.1.33 apache:2.4.9 其他版本是否有效,请自行尝试

找到apache中的httpd.conf文件 该文件所在路径:wamp安装目录\bin\apache\apache*.*.*\conf\ 建议在修改此文件前先备份

找到下面这段文字:(ctrl+f 搜索) <Directory /> AllowOverride none Require all denied </Directory> 将Require all denied这一行删除

找到 Require local 在前面加上#,如下面所示 #Require local

保存退出,重启wampserver

点击展开全文

更多推荐