Localhost redirects to localhost/xampp/

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Localhost redirects to localhost/xampp/

Postby tiamat2009 » 24. December 2012 11:03

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?
Posts: 1
Joined: 24. December 2012 10:59
XAMPP Version: 5.6.14
Operating System: Windows 8

Return to XAMPP for Windows

Who is online

Users browsing this forum: JJ_Tagy and 83 guests