I am using XAMPP and I have this httpd-hosts.conf configuration:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs\tresxtres-artgallery"
ServerName tresxtres-artgallery.local
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs\app_cache"
ServerName app_cache.local
</VirtualHost>
The result is that the server always serve the first virtual host even if the url is http://app_cache.local
Any ideas? Thanks.