Creating a Virtual Host with xampp

Posted by Will on Server Fault See other posts from Server Fault or by Will
Published on 2012-06-06T20:01:38Z Indexed on 2012/06/06 22:42 UTC
Read the original article Hit count: 276

Filed under:
|

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?

© Server Fault or respective owner

Related posts about virtualhost

Related posts about xampp