Hello and welcome elallaix.
What do you mean by "doesn't work"? How are you accessing the site, ie browser address? What actually happens?
Surely localhost is trully 127.0.0.1? I believe that it's not changed in order to make virtual hosts function. I think one doesn't even need to refer to the default localhost, ie xampp control panel, in the httpd-vhosts.conf file because it's in the main conf file. I don't know and haven't got the time to check at the moment, sorry.
What's the default homepage for the local.test site? You haven't got a DirectoryIndex parameter set. Eg:
- Code: Select all
Options Indexes FollowSymLinks ExecCGI
I've also swapped the sequence of ServerName and Document Root, for my personal, easy-reading preference. Also the AllowOverride is set to All, because I'm don't know of the FileInfo setting and again, haven't got time to look at it atm.
Good luck. Please let us know how you get on.