[Zope] standard_err_message ques... repost
Chris Withers
chrisw@nipltd.com
Mon, 07 Oct 2002 14:31:23 +0100
AM wrote:
> and put a simple
>
> <dtml-if "error_type=='NotFound'">
> <dtml-call "RESPONSE.redirect(errors.e404.absolute_url())">
> </dtml-if>
> at the top of my standard_error_message.
>
> Unfortunately when I try to hit a non-existant page I do not get
> redirected to the error page, I still get the Debugging Notice.... blah
> blah blah
Did you read all of the How-To? Especially the bit about "How do I redirect
broken links?"
Try:
<dtml-call "RESPONSE.redirect(errors.e404.absolute_url(),lock=1)">
cheers,
Chris