you did make yourself clear and you got the correct answer. you need to work with standard_error_message. if you meddle with it and suddenly get an error report that is not what you expect from your changed standard_error_message then the most likely reason is that your standard_error_message itself is buggy. jens On Thursday, Jan 9, 2003, at 00:45 US/Eastern, beno wrote:
At 08:56 PM 1/8/2003 +0100, you wrote:
beno wrote at 2003-1-6 16:30 -0400:
Which script captures HTTP 404 errors? I need to play with it. You can customize "standard_error_message".
It gets called for all exceptions not handled by the application. "404" exceptions cannot be handle by the application because it is not reached.
I'm sorry: I didn't make myself clear. What I meant was the Zope *equivalent* of HTTP 404. For example, when I call a nonexistent page at port 8080 on my server, I get this:
""" Site Error An error was encountered while publishing this resource.
Debugging NoticeZope has encountered a problem publishing your object. Cannot locate object at: http://webmaster.vi:8080/skel/h
Troubleshooting Suggestions ·The URL may be incorrect. ·The parameters passed to this resource may be incorrect. ·A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. (Also, an error occurred while attempting to render the standard error message.) """
So...what script generates this? TIA, beno
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )