XAMPP error code 404

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

XAMPP error code 404

Postby jeperipi » 26. July 2007 10:20

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>
jeperipi
 
Posts: 2
Joined: 26. July 2007 09:53

Postby Stepke-DSL » 26. July 2007 10:25

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
Stepke-DSL
 
Posts: 313
Joined: 12. July 2007 16:08
Operating System: Win XP Pro SP3 + SuSe Linux

Postby jeperipi » 26. July 2007 10:42

thx Stepke it's working now
jeperipi
 
Posts: 2
Joined: 26. July 2007 09:53

Postby Stepke-DSL » 26. July 2007 11:32

No problem!
Stepke-DSL
 
Posts: 313
Joined: 12. July 2007 16:08
Operating System: Win XP Pro SP3 + SuSe Linux


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 50 guests