[Zope] GUF and IE friendly error messages

Paulo Eduardo Neves neves@samba-choro.com.br
Tue, 17 Oct 2000 20:20:54 -0300


Hi,
I'm using General User Folder (GUF) in cookie mode for the login in my
site. When someone doesn't have the appropriate permission to access a
resource, GUF should show the Login screen. It works fine, except for
some people (not all) that uses Internet Explorer 5. They see IE http
user friendly error page. If the user is told to change the IE
configuration for not showing friendly errors, the login screen appears.
It is not easy to setup for unexperienced users. 

When the http status is 400 (not found) IE shows the friendly error just
for pages smaller than 512 bytes. Unfortunately, it doesn't work when
the error status is 500 (server error).

I've tried to change http status with RESPONSE.setStatus(200) in the
standard_html_error, but it doesn't work. Is it possible to change the
http status after an exception is raised? 

Can someone suggest a solution or workaround for this problem?

Thanks in advance for any help,
-- 
Paulo Eduardo Neves
http://www.samba-choro.com.br