网上有很多相关的教程都只是修改了C:wamp64inapacheapache2.4.41confhttpd.conf把Require local 改为 Require all granted 。如下图:但是本人实践后发现仍然显示403 Forbidden。还要修改C:wamp64inapacheapache2.4.41confextrahttpd-vhosts.conf才行。如下图:
C:wamp64inapacheapache2.4.41confhttpd.conf
C:wamp64inapacheapache2.4.41confextrahttpd-vhosts.conf