zope under nt w/ ie5 as client
Had zope working GREAT under nt with ie4 as browser. Did the upgrade to ie5 and now cannot access the management screens. The following error is displayed. Zope still works for ie4 from other machines. Any Ideas? Karl Putland HTTP Error 401 401.5 Unauthorized: Authorization failed by ISAPI/CGI app This error indicates that the address on the Web server you attemped to use has an ISAPI or CGI program installed that verifies user credentials before proceeding. The authentication used to connect to the server was denied access by this program. Please make a note of the entire address you were trying to access and then contact the Web server's administrator to verify that you have permission to access the requested resource.
I'm running Zope 1.10.2 with ZServer on NT 4 SP3 using the built-in (zserver based) http server. On another NT 4. workstation system I'm running IE5 and don't have any problem authenticating as "manager" and managing pages on my zope site. On 12 Apr 99, at 12:31, Karl Putland wrote: From: "Karl Putland" <webmaster@cabinetvision.com> To: <zope@zope.org> Subject: [Zope] zope under nt w/ ie5 as client Date sent: Mon, 12 Apr 1999 12:31:02 -0700
Had zope working GREAT under nt with ie4 as browser. Did the upgrade to ie5 and now cannot access the management screens. The following error is displayed. Zope still works for ie4 from other machines. Any Ideas?
Karl Putland
HTTP Error 401 401.5 Unauthorized: Authorization failed by ISAPI/CGI app
This error indicates that the address on the Web server you attemped to use has an ISAPI or CGI program installed that verifies user credentials before proceeding. The authentication used to connect to the server was denied access by this program.
Please make a note of the entire address you were trying to access and then contact the Web server's administrator to verify that you have permission to access the requested resource.
Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com ICQ: 14856937
At 21:31 12/04/99 , Karl Putland wrote:
Had zope working GREAT under nt with ie4 as browser. Did the upgrade to ie5 and now cannot access the management screens. The following error is displayed. Zope still works for ie4 from other machines. Any Ideas?
This is a bug in the combination of IIS 4.0 and IE5.0. Even though I reported it as a bug with IE5.0 Beta, MS didn't fix it in the final version of IE5.0. The only solution is using Netscape Navigator, or not using IIS 4.0 as your server. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-6254545 Fax: +31-35-6254555 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
From: Martijn Pieters <mj@antraciet.nl>
At 21:31 12/04/99 , Karl Putland wrote:
Had zope working GREAT under nt with ie4 as browser. Did the upgrade to ie5 and now cannot access the management screens. The following error is displayed. Zope still works for ie4 from other machines. Any Ideas?
This is a bug in the combination of IIS 4.0 and IE5.0. Even though I reported it as a bug with IE5.0 Beta, MS didn't fix it in the final version of IE5.0. The only solution is using Netscape Navigator, or not using IIS 4.0 as your server.
Not sure what the problem really was. :-( but it started working after I mucked with the security settings in IIS and ie5. So am happy now. I was able to finish work on the Copy/Move functionality for Confera :-) Still got some work to do on it but IT WORKS! enough... thats for the other list. As near as I can figure I think it is the ie5 "nice" error pages or the intranet secuity settings that prevented the authentication. Maybe its time to give up ie for NS or Grail ;-) Karl Putland. llwo@dbtech.net webmaster@cabinetvision.com
At 13:21 13/04/99 , Karl & Mel wrote:
From: Martijn Pieters <mj@antraciet.nl>
At 21:31 12/04/99 , Karl Putland wrote:
Had zope working GREAT under nt with ie4 as browser. Did the upgrade to ie5 and now cannot access the management screens. The following error is displayed. Zope still works for ie4 from other machines. Any Ideas?
This is a bug in the combination of IIS 4.0 and IE5.0. Even though I reported it as a bug with IE5.0 Beta, MS didn't fix it in the final version of IE5.0. The only solution is using Netscape Navigator, or not using IIS 4.0 as your server.
Not sure what the problem really was. :-( but it started working after I mucked with the security settings in IIS and ie5. So am happy now. I was able to finish work on the Copy/Move functionality for Confera :-) Still got some work to do on it but IT WORKS! enough... thats for the other list. As near as I can figure I think it is the ie5 "nice" error pages or the intranet secuity settings that prevented the authentication. Maybe its time to give up ie for NS or Grail ;-)
Hmmm... what are these settings now? This is both interesting to me, and to others. Your solution probably belongs in the ZDP FAQ. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-6254545 Fax: +31-35-6254555 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
The settings are, but this is untested ;) Tools/Internet Options/Advanced/Show Friendly HTTP Error Messages. Make sure this is off, and it might just work, you never know. HTH Phil Phil@philh.org ----- Original Message ----- From: Martijn Pieters <mj@antraciet.nl> To: Karl & Mel <llwo@dbtech.net>; <zope@zope.org> Sent: Tuesday, April 13, 1999 1:14 PM Subject: Re: [Zope] zope under nt w/ ie5 as client
At 13:21 13/04/99 , Karl & Mel wrote:
From: Martijn Pieters <mj@antraciet.nl>
At 21:31 12/04/99 , Karl Putland wrote:
Had zope working GREAT under nt with ie4 as browser. Did the upgrade
to
ie5
and now cannot access the management screens. The following error is displayed. Zope still works for ie4 from other machines. Any Ideas?
This is a bug in the combination of IIS 4.0 and IE5.0. Even though I reported it as a bug with IE5.0 Beta, MS didn't fix it in the final version of IE5.0. The only solution is using Netscape Navigator, or not using IIS 4.0 as your server.
Not sure what the problem really was. :-( but it started working after I mucked with the security settings in IIS and ie5. So am happy now. I was able to finish work on the Copy/Move functionality for Confera :-) Still got some work to do on it but IT WORKS! enough... thats for the other list. As near as I can figure I think it is the ie5 "nice" error pages or the intranet secuity settings that prevented the authentication. Maybe its time to give up ie for NS or Grail ;-)
Hmmm... what are these settings now? This is both interesting to me, and to others. Your solution probably belongs in the ZDP FAQ.
-- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-6254545 Fax: +31-35-6254555 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
At 13:21 13/04/99 , Karl & Mel wrote:
From: Martijn Pieters <mj@antraciet.nl> Not sure what the problem really was. :-( but it started working after I mucked with the security settings in IIS and ie5. So am happy now. I was able to finish work on the Copy/Move functionality for Confera :-) Still got some work to do on it but IT WORKS! enough... thats for the other list. As near as I can figure I think it is the ie5 "nice" error pages or the intranet secuity settings that prevented the authentication. Maybe its time to give up ie for NS or Grail ;-)
Hmm.. I got it working for a moment as well, by switching off anonymous access, and switching on Basic Authentication (therefore always getting access denied). The browser now allowed me to type in my Zope username and password. IIS now denies me access (because the username and password are not know to it). Then switching Anonymous access back on, and Basic Authentication back off, I log into the Zope management screens. However, shutting down your browser undoes all your work. Back to the old conclusion that IE5.0 'forgets' to ask for your username and password, because the HTTP status code is 401.5, which it doesn't recognize. I have now found a permanent solution though: Further playing showed that the message in your browser is a file returned by IIS. With IIS you can specify custom error HTML files. Out of the box, 401.5 is set up to return %SystemRoot%/help/common/401-5.htm. When you set IIS up to serve it's 'default' (i.e. no file), everything suddenly works! I have managed to trace the exact reason to this fundamental difference. When IIS encounters the 401 return from Zope, it will return the file specified by it's custom error tab instead. When returning this file, IIS doesn't specify a Www-Authenticate header anymore. IE5.0 *correctly* doesn't ask for a username and password. I can only conclude that it is a IIS 4.0 bug. It should just return all the headers Zope generated, with the body replaced by the contents of the file. When you set the custom error handling to 'default', IIS doesn't interfere with the headers returned by Zope, and the Www-Authenticate header isn't killed. To switch off the custom error handler, go to the properties dialog box of your IIS web. Choose the 'Custom Errors' tab. Select '401;5' in the HTTP Error column, and click on 'Edit Properties...'. Set the Message-Type to 'Default', and click OK twice. Now everything should work. This imformation should probably be in doc/WEBSERVER.txt. I'll submit this to the collector. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-6254545 Fax: +31-35-6254555 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
Hi, A while ago I sent a message to the group about this very problem with IE4sp1, and someone replied saying that it was a bug in IE and that Microsoft said that it , would be fixed in IE5. Looks like they declined to correct the problem eh! I have had the same problem with IE4sp1, IE5b1 and IE5 releases. So the problem seems deeper than Zope. HTH Phil Phil@philh.org ~~~~~~~~~~~~~~ It Compiles? Ship It! ________________ ----- Original Message ----- From: Karl Putland To: zope@zope.org Sent: Monday, April 12, 1999 8:31 PM Subject: [Zope] zope under nt w/ ie5 as client Had zope working GREAT under nt with ie4 as browser. Did the upgrade to ie5 and now cannot access the management screens. The following error is displayed. Zope still works for ie4 from other machines. Any Ideas? Karl Putland HTTP Error 401 401.5 Unauthorized: Authorization failed by ISAPI/CGI app This error indicates that the address on the Web server you attemped to use has an ISAPI or CGI program installed that verifies user credentials before proceeding. The authentication used to connect to the server was denied access by this program. Please make a note of the entire address you were trying to access and then contact the Web server's administrator to verify that you have permission to access the requested resource.
participants (5)
-
Brad Clements -
Karl & Mel -
Karl Putland -
Martijn Pieters -
Phil Harris