Can't access xampp default site after enabling virtual hosts
Posted: 15. October 2004 09:22
I was able to set up the following virtual hosts great. However when they are enabled I can no longer acess the xampp default web interface that you see when you first install and start xampp.
If I comment these lines of code out, the xampp site is acessable again.
Here's what I have:
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
DocumentRoot D:\mysites\site1
ServerName site1.local
</VirtualHost>
<VirtualHost 127.0.0.1>
DocumentRoot D:\mysites\site2
ServerName site2.local
</VirtualHost>
Thanks for any help anyone can give!
If I comment these lines of code out, the xampp site is acessable again.
Here's what I have:
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
DocumentRoot D:\mysites\site1
ServerName site1.local
</VirtualHost>
<VirtualHost 127.0.0.1>
DocumentRoot D:\mysites\site2
ServerName site2.local
</VirtualHost>
Thanks for any help anyone can give!