其他分享
首页 > 其他分享> > wampserver apache 403无权限访问 You don't have permission to access /index.html on this server

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

作者:互联网

今天接到要求 需要配置一下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>
#

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

标签:httpd,don,permission,granted,AllowOverride,access,noneRequire,conf,apache
来源: https://www.cnblogs.com/cjdty/p/11210571.html