Project

General

Profile

what does this error mean?

Added by scub almost 15 years ago

my 404 error page seems to be working fine, i am setting header 404 in the dynamic script (as per lighttpd manual) but i am getting these in the logs, any idea?

i'm using lighttpd 1.5

2009-07-03 07:26:53 (error) (connections.c:1162) Warning: Either the error-handler returned status 404 or the error-handler itself was not found: /errorcodes/error-404.php
2009-07-03 07:26:53 (error) (connections.c:1163) returning the original status: 404
2009-07-03 07:26:53 (error) (connections.c:1164) If this is a rails app: check your production.log


Replies (1)

RE: what does this error mean? - Added by nitrox almost 15 years ago

The purpose of the 404-errorhandler is to catch those errors, and reply instead of your original app. That reply tho should be a 200. As your forced it to reply 404 you get the above message.

Btw. #lighttpd on irc.freenode.net mighty be an easier way for your questions.

    (1-1/1)