Page 1 of 1

help help.. error 404!

PostPosted: 21. September 2006 00:37
by merumaru
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..

PostPosted: 21. September 2006 01:04
by Izzy
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.

PostPosted: 21. September 2006 02:11
by merumaru
thx izzy! :) :)