Page 1 of 1

Localhost redirects to localhost/xampp/

PostPosted: 24. December 2012 11:03
by tiamat2009
I tried setting up a virtual host.

I followed instructions on a website with info on how to do this:

Here is what I added to my vhost config:

Code: Select all
   DocumentRoot "C:\xampp\htdocs"
   ServerName localhost

   DocumentRoot "D:\Users\Stephen\www"
   ServerName stephen.local
<Directory "D:\Users\Stephen\www">
      Options Indexes FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all

I changed my host file to like the article says.

After doing this localhost now redirects to localhost/xampp/

stephen.localhost too

What did I do wrong? How can I fix this?