[Zope] Newbie question

Bert_De_Ridder at peopleware.be Bert_De_Ridder at peopleware.be
Wed Sep 8 10:02:18 EDT 2004


Hi, all,

I know this isn't a Plone list, but I have what I think is a general 
question that also relates to Zope. 

I'm trying to intercept the 404 error in a Plone website and redirect the 
user to another page/website .

I have already tried to put something like this

   <tal:block tal:define="dummy
python:request.RESPONSE.redirect('http://www.google.be')"/>

in  /portal_skins/custom/default_error_message but it seems that won't 
work
because at that point it's too late to send a redirect.

What can I do to achieve a redirect ?

Thanks in advance

Bert De Ridder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040908/29f8c00e/attachment.htm


More information about the Zope mailing list