XAMPP keeps dropping browsers into wrong directory

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

XAMPP keeps dropping browsers into wrong directory

Postby cruelnull » 12. April 2013 16:42

I've been running XAMPP and Apache on a Windows 8 machine since the turn of the year with no problems. Now for some reason, when it visit localhost in my browser, I'm sent to the wrong directory. This is where DocumentRoot is set:

Code: Select all
<Directory "Z:/CorysStorage/My Documents/Win8 Dropbox/Dropbox/www">


However, when I visit localhost, browsers are appending /xampp to the URL.

To be fair, I was playing around yesterday and I did drop an XAMPP folder into Z:/CorysStorage/My Documents/Win8 Dropbox/Dropbox/www so that I had Z:/CorysStorage/My Documents/Win8 Dropbox/Dropbox/www/XAMPP, that was there to keep some testing files. But I don't recall ever changing anything in Apache or XAMPP to make it try to drop into that new XAMPP folder.

I've sifted through everything I can find, even reset broswer cache, and the computer itself. I can't seem to figure this one out. Something was modified somewhere, but what?!
cruelnull
 
Posts: 2
Joined: 12. April 2013 16:35
Operating System: Windows 8 84bit

Re: XAMPP keeps dropping browsers into wrong directory

Postby cruelnull » 12. April 2013 16:45

I found the problem. At some point I had placed a php file in the root directory that was forcing browsers into that re-direct.

:oops: :roll:
cruelnull
 
Posts: 2
Joined: 12. April 2013 16:35
Operating System: Windows 8 84bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 114 guests