[Zope-dev] Error 404: Not Found

Martijn Pieters mj@digicool.com
Sat, 18 Mar 2000 07:10:02 +0100


On Sat, Mar 18, 2000 at 02:34:54AM +0300, Dmitry B. Khlonin wrote:
> I have some trouble trying to extend hierarchical structure of my site.
> If I have "virtual" directory structure, need to call method resolving
> "Error 404". I've try it. But method "standard_error_message" render
> only,
> and no way to catch exception. I don't need to see Zope Error Screen.
> I want to give up this exception. What you recommend me?
>  
> <!--#if "error_type=='NotFound'"-->
> <!--#var "RESPONSE.redirect('/')"-->
> <!--#/if-->

Have a look at how it is being handled at Zope.org:

  http://www.zope.org/standard_error_message/view_source

-- 
Martijn Pieters
| Software Engineer    mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server
---------------------------------------------