Changing the document root

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

Changing the document root

Postby thijn » 21. July 2005 10:15

First of all, sorry for the English in this topic.

I have a problem with the documentroot settings in the httpd.conf file of Apache.
I installed Xampp at c:\program files\xampp but my document root is at d:\www.
I changed these settings in my httpd.conf as a used to do before i used xampp.

Code: Select all
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "D:/www"

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "D:/www">


But somehow i receive the following error after i've restarted the server and visit http://localhost.

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404

The URL also changed in "http://localhost/xampp/splash.php"

I have just one index.php in my d:\www folder which contains "phpinfo()" in it, so i was expecting to see this.

Can anybody help me out here?
thijn
 
Posts: 2
Joined: 21. July 2005 10:01

Postby Wiedmann » 21. July 2005 10:20

The URL also changed in "http://localhost/xampp/splash.php"

Clear your browser cache.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby thijn » 21. July 2005 10:27

thanx, that's it... Stupid...
thijn
 
Posts: 2
Joined: 21. July 2005 10:01


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 129 guests