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

Today receipt of the request need to configure https toss for a long time and finally good enough authority also encountered problems last solution is as follows

I am here to add my way to my apache 2.4.23 version is integrated by wampserver

in httpd.conf found inside
<Directory />
AllowOverride none
the Require All denied
</ Directory>

modified below this like

<Directory / >
the AllowOverride none
the Require granted All
</ Directory>

Also httpd-vhosts.conf inside modified as follows
# the Virtual the Hosts
#

<VirtualHost *: 80>
ServerName localhost
ServerAlias localhost
the DocumentRoot C: / WAMP / WWW
<Directory "C: / WAMP / WWW / ">
the Options + Includes the Indexes + + + FollowSymLinks the MultiViews
the AllowOverride All
the Require granted All
</ Directory>
</ VirtualHost>
#

// right but can not have children (laughs

Guess you like

Origin www.cnblogs.com/cjdty/p/11210571.html