Page 1 of 1

XAMPP error code 404

PostPosted: 26. July 2007 10:20
by jeperipi
I have a problem with my xampp, I want to set my document root to c: ( not in folder ). when i try with localhost/test.php i have get the error like this

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
localhost
07/26/07 16:02:35
Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2


anyone can help me to solve this problem??

this is my error log and http.conf

error log

[Thu Jul 26 16:02:10 2007] [notice] Child 4020: Child process is running
[Thu Jul 26 16:02:10 2007] [notice] Child 4020: Acquired the start mutex.
[Thu Jul 26 16:02:10 2007] [notice] Child 4020: Starting 250 worker threads.
[Thu Jul 26 16:02:10 2007] [notice] Child 4020: Starting thread to listen on port 443.
[Thu Jul 26 16:02:10 2007] [notice] Child 4020: Starting thread to listen on port 80.
[Thu Jul 26 16:02:35 2007] [error] [client 127.0.0.1] script 'C:/Program Files/xampp/apache/test.php' not found or unable to stat

http.conf

DocumentRoot "C:"
<Directory "C:">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>

PostPosted: 26. July 2007 10:25
by Stepke-DSL
Hi,

I think your DocumentRoot must be C:/

[Thu Jul 26 16:02:35 2007] [error] [client 127.0.0.1] script 'C:/Program Files/xampp/apache/test.php' not found or unable to stat

the server try to open the file test.php in the apache dir.

Try it with a Slash (/) at the end of your DocumentRoot and Directory.

Greetings

Stepke

PostPosted: 26. July 2007 10:42
by jeperipi
thx Stepke it's working now

PostPosted: 26. July 2007 11:32
by Stepke-DSL
No problem!