[Zope] Which Script Catches HTTP 404 Errors?

Martin Gebert Murphy@members.netsolution-net.de
Thu, 09 Jan 2003 16:08:33 +0100


Jens Vagelpohl schrieb:

> 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:
>>
standard_error_message catches them all. See also

http://www.zope.org/Members/JohnC/StandardErrorMessage

Martin