I’m having no luck finding this question answered so I’m asking this myself.
To get my VHost working, I followed this answer. My (working) “httpd-vhosts.conf” file looks like this
<VirtualHost *:80> ServerAdmin email@example.com DocumentRoot "Z:/Projects/Web/MetalTxus Site" ServerName metaltxus.test ServerAlias www.metaltxus.test <Directory "Z:/Projects/Web/MetalTxus Site"> #Options FollowSymLinks Options Indexes FollowSymLinks AllowOverride All Order deny,allow Allow from all </Directory> </VirtualHost>
As far as I know, I should change “Indexes” with “-Indexes” to make the web load “index.html” instead of the web directory. However, when I dad that, my WAMPServer wouldn’t start. It would if I removed “FollowSymLinks” option but then all I got was a “403 – Forbidden” page (“you don’t have permission to access “/” on this server”).
As looking for a solution got me nowhere, I used this a my last resource.
I’m using latest WampServer version in Windows 8.1. I want to test an AngularJS application.
If you need any more information, go ahead and ask.