www.webiconinc.com Posted January 10, 2010 Share Posted January 10, 2010 Hello, Please help me. When iam trying to open a tell_a_friend.php it display the error like below. Forbidden You don't have permission to access /store/osc//.html on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Thanks in advance Link to comment Share on other sites More sharing options...
MrPhil Posted January 10, 2010 Share Posted January 10, 2010 You may have been hacked. There's no reason that any part of osC would be looking for an .html file. Add to that the incomplete name (/.html rather than some_dir/some_name.html) and it looks doubly suspicious. You should take a look through your code (at least, tell_a_friend.php) and see if there's code there that shouldn't be. Compare it to a fresh install copy (from the .zip file) if you have no idea what to look for. You got a 401 or 403 error, but had no custom error document (error page) to run for it. The server is complaining it can't find your custom error document, and giving a 404 error for that. You don't have your own "error handler"/"error document"/"error page" files defined, and the system is using the default handlers when you get, say, a 404 error (/catalog/ not found). Then it throws a 404 that it couldn't find the 404 handler! Not critical, but if you'd like to get rid of these extra 404 messages, define your own error handlers. To minimize the number of unnecessary error messages cluttering up your account log, you should supply a set of Error Pages for your account: /400.shtml, /401.shtml, /403.shtml, /404.shtml, and /500.shtml at a minimum, along with a /robots.txt (requested by every search bot) and a /favicon.ico (requested by every browser). If you have cPanel, it has a button to produce the *.shtml Error Pages ("Error pages") -- you can customize them all you want with additional HTML code. /robots.txt can be empty until you figure out what you want to put in it. Any "paint" program can produce a favicon for you (16x16 ICON format). Having these seven files will greatly reduce the clutter in your system error log, enabling you to see real errors that you need to address. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.