[Zope] Can I create 'callbacks' for HTTP server errors..

André LAGADEC Andre.Lagadec@proto.education.gouv.fr
Thu, 04 Nov 1999 09:01:13 +0100


Hello,

I have the same problem with Apache+Zope in a Web machine where I use
multi-hosting and rewrite rules.

If I want to use the ErrorDocument directive to unify error messages, how
can I write it ?

ErrorDocument 404 /Zope/404-error ?
                        ^ is it a DTML method or DTML document or HTML page

Thanks for any help.

Tony McDonald a écrit :
> 
> At 10:05 am -0500 1/10/99, Evan Simpson wrote:
> >Doesn't editing standard_html_error work?  I think Zope 2.0 tries to acquire
> >it from the last valid folder the URL reached.
> >
> >BTW, if you're running behind Apache and mixing static and Zope content, you
> >may want to use the ErrorDocument directive to unify your error messages.
> >For instance, I use:
> >
> >ErrorDocument 404 /Zope/404-error
> >
> >to allow me to provide an error page from Zope.
> 
> cheers Evan, that's a really neat idea!
> Tone.
> ------
> Dr Tony McDonald,  FMCC, Networked Learning Environments Project
> http://nle.ncl.ac.uk/
> The Medical School, Newcastle University Tel: +44 191 222 5888
> Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (Related lists - please, no cross posts or HTML encoding!
> 
> To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )