I'm using virtual hosts to get various dev sites running under that. So relevant bits from my apache/conf/extra/httpd-vhosts.conf look like:
Options Indexes FollowSymLinks Includes ExecCGI
Allow from all
And the relevant entry in my hosts file:
This works fine, from the Win7 machine.
I've also created a virtual machine running WinXP (on the same Win7 machine), so I can test on IE8. I want to access dev.newsite.com from it.
I've commented out the following in httpd-xamp.conf, so the virtual machine can at least see my xampp apache. Probably not the safest but this is all on an internal office network:
# Order deny,allow
# Deny from all
# Allow from 127.0.0.0/8
# ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
And I've added an entry to the hosts file on the WinXP virtual machine, pointing dev.newsite.com at the network IP address of the Win7 machine:
That's got me nearly there. But if I start up the WinXP virtual machine and point IE8 at http://dev.newsite.com - I don't get the dev site.
I get the xampp 'welcome' page. In fact, it's redirecting me to:
What's doing this, and how can I stop it?