In my http.conf I reference http-vhosts.conf:
Include conf/extra/httpd-vhosts.conf
http-vhosts.conf has the following:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/xampp"
ServerName localhost
<Directory "C:/xampp/htdocs/xampp">
Options Includes FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/mysite"
ServerName mysite.dev
ServerAlias mysite.dev
<Directory "C:/xampp/htdocs/mysite">
Options Includes FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
And in my hosts file I have:
127.0.0.1 localhost
127.0.0.1 mysite.dev
What am I missing here? I've searched the forum like a mad man but couldn't find anything solutions that have worked - your thoughts are much appreciated