Dear group. Just installed Zope and PCGI on a RH 6.2 system. Everything looks good except that I can't login??? I saw that this might be due to that my Apache can't Authenticate CGI. How do I make this work? Regards Gordon
Gordon Bergstrom wrote:
Dear group.
Just installed Zope and PCGI on a RH 6.2 system. Everything looks good except that I can't login??? I saw that this might be due to that my Apache can't Authenticate CGI. How do I make this work?
There aren't really enough details here to say for sure. It is probably your RewriteRule but who can say? There are a number of How-Tos on the Zope site that explain this, and there is also a precompiled Apache with a very minimal .conf file available at http://www.zope.org/Members/michel/Projects/Zap/ Be sure to read the release information, it alone might solve your problem. -Michel
Regards
Gordon
Michel Pelletier wrote:
Gordon Bergstrom wrote:
Dear group.
Just installed Zope and PCGI on a RH 6.2 system. Everything looks good except that I can't login??? I saw that this might be due to that my Apache can't Authenticate CGI. How do I make this work?
There aren't really enough details here to say for sure. It is probably your RewriteRule but who can say? There are a number of How-Tos on the Zope site that explain this, and there is also a precompiled Apache with a very minimal .conf file available at
http://www.zope.org/Members/michel/Projects/Zap/
Be sure to read the release information, it alone might solve your problem.
-Michel
Ok, I have installed the RPM's from RH Powertools and then I have added this to /etc/httpd/conf/http.conf <-------------- CODE------------> 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] <Directory /home/httpd/cgi-bin> AllowOverride None Options ExecCGI FollowSymLinks </Directory> <------------------------------> And then made a ln- s from /var/zope/Zope.cgi Zope in /home/httpd/cgi-bin This is the output from Zope when I tries to log in: <-------------CODE------------> <!-- Traceback (innermost last): File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 214, in publish_module File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 179, in publish File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 151, in publish File /usr/share/zope/lib/python/Products/SiteAccess/ChangeBehaviors.py, line 245, in traverse File /usr/lib/python1.5/site-packages/ZPublisher/HTTPResponse.py, line 551, in unauthorized Unauthorized: (see above) --> <-----------------------------> Hope this tells more. Regards Gordon
participants (2)
-
Gordon Bergstrom -
Michel Pelletier