[Zope] Question Regarding Unauthorized Logins And Custom Error Messages

Joachim Werner joe@iuveno-net.de
Tue, 5 Feb 2002 20:29:35 +0100


> > Err, is that the only solution?
>
> Yup.

Not quite, but this one is REALLY ugly:

You can dive into the source code (it was at "HTTPResponse.py" in
lib/python/ZPublisher, starting at line 496 last time I did it).

There you can put any valid HTML. You could also put an HTML-based redirect
to a page within Zope that could display the error. But then this page has
to be world-readable, of course ... ;-)

Joachim