我怎样才能让虚拟主机与XAMPP一起工作?

我昨天在我的Win 7机器上重新安装了XAMPP。 我正在做一个Laravel项目。 我安装了当前版本的Laravel,然后在本地机器上设置了虚拟主机。 当我去到我设置的url(jrd_dnd_tools.localhost),我得到一个坏的网关消息如果我去本地主机,我得到该网站的url应该去。 我之前设置了虚拟主机,但不知道为什么会发生这种情况。 我敢肯定,我错过了一些愚蠢的东西,但不知道是什么。

的httpd-vhosts.conf

<VirtualHost *:80> ServerAdmin webmaster@jrd_dnd_tools.localhost DocumentRoot "C:\Users\Joey\Web\jrd_dnd_tools/public" ServerName jrd_dnd_tools.localhost ServerAlias www.jrd_dnd_tools.localhost ErrorLog "logs/jrd_dnd_tools.localhost.log" CustomLog "logs/jrd_dnd_tools.localhost.log" common <Directory "C:\Users\Joey\Web\jrd_dnd_tools/public"> AllowOverride All Order Allow,Deny Allow from all ## --New way of doing it Require all granted </Directory> </VirtualHost> 

.hosts

 127.0.0.1 localhost ::1 localhost ::1 database.localhost 127.0.0.1 jrd_dnd_tools.localhost