[Zope-dev] Error 404: Not Found

R. David Murray bitz@bitdance.com
Sun, 19 Mar 2000 18:29:06 -0500 (EST)


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