WAMP解决访问后显示"You don't have permission to access / on this server."

修改C:wamp64inapacheapache2.4.18confextrahttpd-vhosts.conf

修改为一下内容:

#
# Virtual Hosts
#

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

重新启动WAMP即可

原文地址:https://www.cnblogs.com/Kim53622744/p/5368408.html