apache2.4 You don‘t have permission to access / on

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache2.4 You don‘t have permission to access / on相关的知识,希望对你有一定的参考价值。

apache2.4 You don‘t have permission to access / on this server.

在配置完apache2.4
conf/extra/httpd-vhosts.conf 添加完虚拟主机后以及
本地windows/system32/drivers/etc/host.conf 进行域名解析后

去到Apache
conf/httpd.conf
大概是231行的位置
修改
<Directory />
AllowOverride none
Require all no
</Directory>

<Directory “代码目录”>
Options Indexes FollowSymlinks
AllowOverride All
Require all granted
</Directory>

以上是关于apache2.4 You don‘t have permission to access / on的主要内容,如果未能解决你的问题,请参考以下文章

Apache2.4 mod_wsgi error: Forbidden You don't have permission to access / on this server

You don't have permission to access

phpstudy本地配置教程You don't have permission to access解决

You don't have permission to access / on this server.

“You don't have permission to access /phpmyadmin/ on this server.”

Forbidden You don't have permission to access / on this server.