Posted by:
warmsunshine
(---.Red-83-50-232.dynamicIP.rima-tde.net)
I have had Wampserver working with XP with no problems. However, I have had to upgrade (!) to Vista, and can't get virtual hosts to work. I know that I have missed something stupid - but what?
With the standard installation, localhost gives me the Wampserver localhost page, no problem.
I add the 127.0.0.1 workdomain and 127.0.0.1 workdomain2 to c:/windows/system32/drivers/etc/hosts (not sure if 127.0.0.1 localhost should stay in or not)
Now workdomain and workdomain2 both point to wampserver localhost page - what I would expect
C:/wamp/bin/apache/apache2.2.8\conf\httpd.conf
remove the # from the line
#Include conf/extra/httpd-vhosts.conf
Now all I have in httpd-vhosts.conf is
<VirtualHost *:80>
DocumentRoot "C:/develop4/workdomain"
ServerName workdomain
</VirtualHost>
And I get 403 forbidden on all 3 domains. I would expect workdomain to work...
So what have I missed?
please!
Pete