Xampp and Virtual host not working.

Associate
Joined
1 Jun 2007
Posts
820
I just installed Xampp on a new PC and have edited my hosts file to have:

127.0.0.1 webtest.localhost

Now in httpd-vhosts.conf :

<VirtualHost *:80>
DocumentRoot C:\webtestfiles
ServerName webtest.localhost
<Directory C:\webtestfiles>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


It doesnt work.

I always get an access forbidden error. Is there anything else I must do it get it to work ?
 
Back
Top Bottom