[Zope] How to redirect an unauthorized access ?
Pascal Samuzeau
samuzeau@oreka.com
Fri, 15 Mar 2002 10:56:05 +0100
Hi,
In my first page of my site I have a link named "Administration",
reserved to the administrators.
In fact, anyone may try this link and have a hope to connect.
Unfortunately, when they try, they are rejected after three times, and
they got this error ( an extract ) :
$ZOPEROOT/lib/python/ZPublisher/HTTPResponse.py, line 581, in
unauthorized
I want to use the zope facilities in order to create a new html page
for the people who wants to connect to my site, but without the rights
administrator. I want have a look of my site with a special message to
tell them that it's not possible, because they are not administrators.
How can I do this? Where I have to lokk ta realize this ? Do I have to
change HTTPResponse.py ?
Sincerily
PS
--------------------------------------------------
Oreka ! Nous sommes l'internet moins cher !
Surfez 25% moins cher avec http://www.oreka.com