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>