help help.. error 404!

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

help help.. error 404!

Postby merumaru » 21. September 2006 00:37

i get error 404 when im trying to preview my .php page. i think it's because i didnt put it in the right place. this is the error msg:

-------------------------------------------------------------------------------------

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
09/21/06 11:17:40
Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4

-------------------------------------------------------------------------------------

When i open up http://localhost/, where is the "http://localhost/" content coming from?

did i get the error msg because i didnt put my php page in the same place with "http://localhost/" content?

sorry if I'm asking silly question, im totally newbie in server-scripting..
Love: starts with a smile, grows with a kiss, ends with XAMPP!!
merumaru
 
Posts: 2
Joined: 20. September 2006 23:49

Postby Izzy » 21. September 2006 01:04

http://localhost uses the xampp/htdocs directory.

You would put your files in xampp/htdocs/yourwebsite/index.php

http://localhost/yourwebsite/index.php will give you what you want.

Also check xampp/apache/logs/error.log when you get a server error. It will usually tell you more about the error than the message returned to your browser.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby merumaru » 21. September 2006 02:11

thx izzy! :) :)
Love: starts with a smile, grows with a kiss, ends with XAMPP!!
merumaru
 
Posts: 2
Joined: 20. September 2006 23:49


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 120 guests