XAMPP vhost 配置(403问题解决)

<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs/"
    ServerName localhost
</VirtualHost>
<VirtualHost *:80>
    DocumentRoot "C:/Users/eyedc/dev/tp5/public"
    ServerName tp5.loc
    <Directory "C:/Users/eyedc/dev/tp5/public">
        Require all granted
    </Directory>
</VirtualHost>

  

posted @ 2019-04-04 22:27  ranwuer  阅读(376)  评论(0编辑  收藏  举报