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

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

我这边补充一下个人方法 个人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>
#

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

相关文章
相关标签/搜索