Page 1 of 1

Changing the document root

PostPosted: 21. July 2005 10:15
by thijn
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?

PostPosted: 21. July 2005 10:20
by Wiedmann
The URL also changed in "http://localhost/xampp/splash.php"

Clear your browser cache.

PostPosted: 21. July 2005 10:27
by thijn
thanx, that's it... Stupid...