<dtml-call> not worked too. it only not render '/' but no execute redirect -----Original Message----- From: R. David Murray <bitz@bitdance.com> To: Dmitry B. Khlonin <khl@paloma.spbu.ru> Cc: Martijn Pieters <mj@digicool.com>; zope-dev@zope.org <zope-dev@zope.org> Date: 20 марта 2000 г. 2:29 Subject: Re: [Zope-dev] Error 404: Not Found
On Sun, 19 Mar 2000, Dmitry B. Khlonin wrote:
<dtml-var "RESPONSE.redirect('/')">. Then I take the "myhost.dz/error_404" and give true resulting redirect to root of "myhost.dz". But if I try to "myhost.dz/efjklwekljfwejkl" then I give empty document with symbol "/" and traceback in it . Why? Why not redirected to root?
This may not be the solution to your problem, but I'm pretty sure that in that RESPONSE.redirect you want to be doing a 'dtml-call' instead of a 'dtml-var'.
--RDM