I am running Zope under IIS using PCGI and it works great, but I can't view pages that require authentication. I found the following in the archive but it caused a forbidden error rather than popping up the login dialog. Does anyone know what the easiest way to do this is? T. Note that you probably have to tweak your IIS configuration to get IIS to pass authentication headers to Zope. You need to make sure that BOTH "Windows NT Challenge/Response" AND "Basic Authentication" are DESELECTED for the cgi directory where you placed the cgi exe. Otherwise, IIS will intervene on every request and try to do the authentication itself (which will fail, of course).
Stupid questions: - So IIS's version of allow anonymous access is turned on? - Is it IIS or Zope that is having the problem? ----- Original Message ----- From: "Tom Nixon" <tom.nixon@aim23.com> To: <zope@zope.org> Sent: Wednesday, March 27, 2002 8:58 AM Subject: [Zope] IIS, PCGI, authentication
I am running Zope under IIS using PCGI and it works great, but I can't view pages that require authentication.
I found the following in the archive but it caused a forbidden error rather than popping up the login dialog. Does anyone know what the easiest way to do this is?
T.
Note that you probably have to tweak your IIS configuration to get IIS to pass authentication headers to Zope. You need to make sure that BOTH "Windows NT Challenge/Response" AND "Basic Authentication" are DESELECTED for the cgi directory where you placed the cgi exe. Otherwise, IIS will intervene on every request and try to do the authentication itself (which will fail, of course).
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Tom Nixon wrote:
I am running Zope under IIS using PCGI and it works great, but I can't view pages that require authentication.
I have found that when running Zope on port 8080 and the IIS on port 80, and then using basic authentication that I could not get it to work. It was like the username:password send to IIS by the browser didn't get passed on to Zope at the other port. It was about 1 1/2 year ago I tried so I no longer remember the details. Never found a solution other than using cookiecrumbler instead. That works great though. regards Max M
participants (3)
-
Andy McKay -
Max M -
Tom Nixon