[Zope] Which Script Catches HTTP 404 Errors?
beno
zope@thewebsons.com
Thu, 09 Jan 2003 01:45:06 -0400
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=20
*equivalent* of HTTP 404. For example, when I call a nonexistent page at=20
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
=B7The URL may be incorrect.
=B7The parameters passed to this resource may be incorrect.
=B7A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML=20
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=20
message.)
"""
So...what script generates this?
TIA,
beno