Forum Moderators: phranque
Here is my setup:
In the Windows hosts file:
127.0.0.1 localhost
127.0.0.1 mysite
In Apache's extra/httpd-vhosts.conf:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
</VirtualHost>
<VirtualHost *:80>
ServerName mysite
DocumentRoot C:/projects/mysite
</VirtualHost>
Any suggestions on how I can make the virtual hosts available when not connected would be much appreciated!
Thanks for your help, gergoe.