newbie questions about zope with apache
Greetings all, I'm having problems getting zope running with Apache. I've got mod_rewrite compiled into apache (confirmed with httpd -l). The ZServer daemon is running, and I can connect to it at www.odeon.net/cgi-bin/Zope.cgi The QuickStart material linked from the above location all works fine. When I try to go to www.odeon.net/cgi-bin/Zope.cgi/manage it pops up the username/password box. After entering the username and password as defined in the zope/access file I get a message that says Unauthorized. The URL appears correct, and the information being passed to Zope is correct. The following is being logged in zope.log: 127.0.0.1:- - [05/Jan/2000:21:18:03 -0500] "GET Zope/manage" 1775 System information is as follows: RedHat linux version 6.0 Kernel version 2.2.13 Apache version 1.3.9 I suspect the problem is in the rewrite rules: RewriteEngine on RewriteRule ^/static/(.*) /home/httpd/html/$1 [l] RewriteRule ^/cgi-bin/(.*) /home/httpd/cgi-bin/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/(.*) /home/httpd/cgi-bin/Zope/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] Any help would be greatly appreciated, Jeff Robertson jeffr@odeon.net
Check out the eighth bullet on this page: http://www.zope.org/Members/jens/docs/newbie_caveats This also might be due to Apache not properly passing the authentication header through to CGI scripts. Search on Zope.org for this. The solution was to compile Apache with SECURITY_HOLE_PASS_AUTHORIZATION I think. Good luck. I've been trying to install Zope for a few days now and have found problems with both the pcgi and SiteAccess methods, so I am giving FastCGI a try. -- Guy Davis mailto:davis@arc.ab.ca (403) 210-5334 Alberta Research Council
participants (2)
-
Guy Davis -
jeffr@odeon.net