Forum Moderators: phranque
# TESTING VHOST
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1:8080>
ServerName site1.local
DocumentRoot "C:/mystuff/projects/site1/web_root/"
</VirtualHost>
<VirtualHost 127.0.0.1:8080>
ServerName site2.local
DocumentRoot "C:/mystuff/projects/site2/web_root/"
</VirtualHost>
However, in the main part of the configuration file, I still have my directory config set to use the site1 path, like so
<Directory "C:/mystuff/projects/site1/web_root/">
Ive updated my hosts file to include both site1 and site2
When I try site2, apache complains with a 403 error, "You don't have permission to access / on this server."
Help appreaciated!