Creating a Virtual Host with xampp
- by Will
i'm using xampp trying to set up a virtual host.
Here's my httpd-vhosts.conf file:
<VirtualHost *:80>
DocumentRoot "C:\Users\wbaizer\PhpstormProjects\Test"
ServerName test1.localhost
</VirtualHost>
my hosts file has the following:
127.0.0.1 test1.localhost
when I try to access test1.localhost in Chrome it gives me this message:
"You don't have permission to access the requested directory. There is either no index document or the directory is read-protected."
What am I doing wrong, what do I need to do, and how do I do that?