首页 > 数据库技术 > 详细

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

时间:2018-07-08 20:35:30      阅读:195      评论:0      收藏:0      [点我收藏+]
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

原文:http://blog.51cto.com/13757802/2138878

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!