[Zope] Which Script Catches HTTP 404 Errors?

Dr. Michael Wittmann mikew@evolution.org
Sat, 11 Jan 2003 17:49:09 +0100


Hi,

a zope 404 response contains the header item

Bobo-Exception-File: ...\lib\python\ZPublisher\HTTPResponse.py

search in HTTPResponse.py for the code sequence:

     def notFoundError(self,entry='Unknown'):
         self.setStatus(404)
	(...)


HTH,
Michael

beno wrote:
> At 10:50 AM 1/11/2003 -0500, you wrote:
> 
>> there is no single script for that. errors can be thrown anywhere in 
>> the code.
> 
> 
> Okay...any idea where errors are thrown for pages that aren't found 
> (similar to an HTTP 404 error)?
> 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 )
> 

-- 
____________________________________________________________

  Dr. Michael Wittmann         E-Mail    mikew@evolution.org
  SoftBiz                      Work 1 +49 (0) 8631  16 31 33
  Sepp-Giggenbach-Str. 3       Work 2 +49 (0) 172  832 84 97
  D-84453 Muehldorf am Inn     Fax    +49 (0) 8631  16 31 34
  Germany                      Home   +49 (0) 8631  16 31 35

  Things generally work fine, except if they don't.
____________________________________________________________