首页 > 数据库技术 > 详细

wampserver apache 403无权限访问 You don't have permission to access /index.html on this server

时间:2019-07-19 01:14:19      阅读:102      评论:0      收藏:0      [点我收藏+]

今天接到要求 需要配置一下https 折腾好久 最后好还遇到了权限不够的问题 最后解决方案如下

我这边补充一下我的方法 我的apache是 2.4.23 版本 是由 wampserver集成的

httpd.conf 里面找到
<Directory />
AllowOverride none
Require all denied
</Directory>

修改成下面这样就好了

<Directory />
AllowOverride none
Require all granted
</Directory>

再者 httpd-vhosts.conf里面修改成如下
# Virtual Hosts
#

<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot c:/wamp/www
<Directory "c:/wamp/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
#

//说得对 可惜不能生孩子 (笑

wampserver apache 403无权限访问 You don't have permission to access /index.html on this server

原文:https://www.cnblogs.com/cjdty/p/11210571.html

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