You don't have permission to access / on this server,Forbidden
程序员文章站
2022-07-04 08:42:06
wampserver配置虚拟主机Forbidden,apache You don't have permission to access 找到httpd.conf文件(通常在安装apache的conf目录下),用编辑器打开 进入到 DocumentRoot Directory 这一行修改里面的内容 ......
wampserver配置虚拟主机forbidden,apache you don't have permission to access
找到httpd.conf文件(通常在安装apache的conf目录下),用编辑器打开
进入到 documentroot directory 这一行修改里面的内容
<directory "${install_dir}/www/">
将directory后面引号里面的修改成你的项目文件的根目录或者根目录所在的盘符,例如我配置的是d盘下的site,最好写绝对路径
<directory "d:/site">
继续找到 require local
require all granted
重启wamp或者apache即可
推荐阅读
-
You don’t have permission to access /index.php on.
-
对于搭建网站中出现“You don't have permission to access this resource.”错误提示的解决思路
-
You don't have permission to access / on this server,Forbidden
-
CentOS7.0下安装Apache2.4.20版本,安装完成之后,报 You don't have permission to access / on this server.
-
wamp不能使用phpmyadmin,提示“You don't have permission to access /phpmyadmin/ on this server.”...
-
Apache启动后出现You don't have permission to access on this server的解决办法
-
PHP错误:Forbidden You don't have permission to access / on thi_PHP教程
-
apache出现You don't have permission to access / on thi_PHP教程
-
Apache出现 You don't have permission to access /phpmya
-
wamp不能使用phpmyadmin,提示“You don't have permission