Please help,I'm new to xampp but I've tried frantically to resolve this error but to no avail.
My virtualHost and file settings are as followed:
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
ServerName site1.local
DocumentRoot "C:/MyWeb/Site1"#This is where my site is located and xampp is also in C:/MyWeb
</VirtualHost>
<VirtualHost 127.0.0.1>
ServerName site2.local
DocumentRoot "C:/MyWeb/Site2"
</VirtualHost>
<Directory "C:/MyWeb/site1">
Order Deny,Allow
Allow from all
</Directory>
<Directory "C:/MyWeb/site2">
Order Deny,Allow
Allow from all
</Directory>
My hosts file settings(windows) are as followed:
127.0.0.1 localhost:80
127.0.0.1 site1.local
127.0.0.1 site2.local
Any assistance to get around this would be much appreciated.