Announce: Confera 1.3.1 -> ZOPE 2.0.0 final compability fix release.
Well, the subjects says it all: http://www.mtg.co.at/projects/products/Confera/ Could people please download it and check if I didn't miss something? Andreas -- Andreas Kostyrka | andreas@mtg.co.at phone: +43/1/7070750 | phone: +43/676/4091256 MTG Handelsges.m.b.H. | fax: +43/1/7065299 Raiffeisenstr. 16/9 | 2320 Zwoelfaxing AUSTRIA
Hi! I'm using zope 2.0 with apache 1.3.6. I can't get the authentication to work. I can access the normal directories, but not manage. I have configured the Rewrite rules in my apache .conf-files. Apache sets the following env-variable: (from rewrite log) 195.10.177.75 - - [02/Sep/1999:19:26:47 +0300] [www2.micasolutions.fi/sid#80c6f7c][rid#80d562c/initial] (5) setting env variable 'HTTP_CGI_AUTHORIZATION' to 'Basic bWljYTpib3l6Mm1lbg==' I'm using the following rewrite-rules: <Directory /home/httpd/html> RewriteEngine On RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^Zope/(.*) /cgi-bin/Zope.cgi/$1 [E=HTTP_CGI_AUTHORIZATION:%1,T=application/x-httpd-cgi,L] ... </Directory> ExecCGI is on and Zope.cgi is executable. How does Zope access the password/user information from the HTTP_CGI_AUTH variable, because it's crypted and it doesn't match the password in zope's access? contents of access file: username:{SHA}Ngqe33rRJ5132clVpXf6T+CyMX8= Kristoffer Michael
Cobalt maillinglist wrote:
Hi!
I'm using zope 2.0 with apache 1.3.6. I can't get the authentication to work. I can access the normal directories, but not manage.
I have configured the Rewrite rules in my apache .conf-files. Apache sets the following env-variable: (from rewrite log)
195.10.177.75 - - [02/Sep/1999:19:26:47 +0300] [www2.micasolutions.fi/sid#80c6f7c][rid#80d562c/initial] (5) setting env variable 'HTTP_CGI_AUTHORIZATION' to 'Basic bWljYTpib3l6Mm1lbg=='
I'm using the following rewrite-rules:
<Directory /home/httpd/html> RewriteEngine On RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^Zope/(.*) /cgi-bin/Zope.cgi/$1 [E=HTTP_CGI_AUTHORIZATION:%1,T=application/x-httpd-cgi,L]
... </Directory>
ExecCGI is on and Zope.cgi is executable.
I would suggest using RewriteLog, level 9, to track down the bug.
How does Zope access the password/user information from the HTTP_CGI_AUTH variable, because it's crypted and it doesn't match the password in zope's access?
It's not crypted, it's base64'ed plain text. Zope's access file is crypted however, but it can handle that. -Michel
contents of access file:
username:{SHA}Ngqe33rRJ5132clVpXf6T+CyMX8=
Kristoffer Michael
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
I would suggest using RewriteLog, level 9, to track down the bug.
Yep, done that, but I can't spot the error. As far as I can tell the program gets the correct env-variables.
It's not crypted, it's base64'ed plain text. Zope's access file is crypted however, but it can handle that.
Ok, that clears things abit. Could someone post their config-files and related stuff. I just can't seem to pinpoint the problem. I got things to work when I used Apache to do the authentication. ie. I used .htaccess-style authentication and removed the passwd-string from access. But if I understand correctly this disables some functions in zope, like user passwords and stuff?? Kristoffer Michael
participants (3)
-
Andreas Kostyrka -
Cobalt maillinglist -
Michel Pelletier