Please see below the httpd-vhosts and hosts file I'm using. Thanks in advance.
#httpd-vhosts.conf
- Code: Select all
<Directory "D:/xampp/htdocs">
Order Deny,Allow
Allow from all
</Directory>
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
ServerName devsite
DocumentRoot "D:/xampp/htdocs/mysite/dev"
</VirtualHost>
#windows hosts file
- Code: Select all
127.0.0.1 localhost
::1 localhost
127.0.0.1 devsite