...

View Full Version : Where's my 404?



ArcticFox
12-30-2007, 02:20 AM
I had 404 error pages for my site at one time, but it's been so long I don't know where to find them. Also... they're not working for some reason - I get the standard:



Not Found

The requested URL /xtreme-scooters/inquiries.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Not sure how to find them; 404, 403, 501, 666, etc... where are they?

JamieR
12-30-2007, 03:43 AM
The ErrorDocument handling is done via .htaccess.

Have a look in the root of your web space for a file called ".htaccess".

The error is either pointing to a missing .htaccess file, or the pages referenced as the error pages in .htaccess are missing.

http://www.javascriptkit.com/howto/htaccess2.shtml

ArcticFox
12-30-2007, 07:27 AM
Thank you, found them. :)

In the .htaccess I had the wrong folder name (must have switched them).

Where exactly does the .htaccess need to be?: where my main page sits (htdocs), one folder deeper, or in each folder?

oesxyl
12-30-2007, 09:48 AM
Thank you, found them. :)

In the .htaccess I had the wrong folder name (must have switched them).

Where exactly does the .htaccess need to be?: where my main page sits (htdocs), one folder deeper, or in each folder?

could be in in each folder you need one.

best regards

Apostropartheid
12-30-2007, 03:45 PM
Although to apply globally, it has to be in your root folder.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum