Page 1 of 1

XAMPP keeps dropping browsers into wrong directory

PostPosted: 12. April 2013 16:42
by cruelnull
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?!

Re: XAMPP keeps dropping browsers into wrong directory

PostPosted: 12. April 2013 16:45
by cruelnull
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: