Apache must be able to access (for execute) both: /var/lib/zope/Zope.cgi /home/soli-con/ipOffice/Zope.cgi *And* write to the PCGI socket(s) listed inside those scripts, and exec the pcgi-wrapper programs listed inside them as well. Regards, Phil +----------------------------------+ | Phil Mayers, Network Support | | Centre for Computing Services | | Imperial College | +----------------------------------+ -----Original Message----- From: Olaf Marc Zanger [mailto:olaf.zanger@soli-con.com] Sent: 26 March 2001 20:03 To: Zope Subject: [Zope] pcgi authorization trouble hi there, i have two zopes running. the one (zope) i can access, the other one (ip) i get an http error (forbidden you don't have permission to access /ip/ on this server. zope: is running under username:zope ip: is running under username: soli-con the var directory has chmod 777 and chown soli-con.users what is going on ?? thanks for help olaf these are my entries in httpd.conf: ---------------------------------------------- RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/zope(.*) /var/lib/zope/Zope.cgi$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/ip(.*) /home/soli-con/ipOffice/Zope.cgi$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] -- soli-con Engineering Zanger, Dipl.-Ing. (FH) Olaf Marc Zanger Lorrainestrasse 23, 3013 Bern / Switzerland fon:+41-31-332 9782, mob:+41-76-572 9782 mailto:olaf.zanger@soli-con.com, http://www.soli-con.com _______________________________________________ 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 )
hi there, thanks for help. zope is installed in the home directory of a user. on the test computer, it worked after i made a chmod 711 to the home directory. on the production machine it didn't even that we have the same setup. the error messages really don't tell us a lot. error message: ------------------ Internal Server Error ... zope is working through the port. is there any chance to test the single pieces of the cgi setup? thanks in advance olaf -- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Marc Zanger Lorrainestrasse 23 3013 Bern / Switzerland Fon: +41-31-332 9782 Mob: +41-76-572 9782 mailto:info@soli-con.com mailto:olaf.zanger@soli-con.com http://www.soli-con.com
participants (2)
-
Mayers, Philip J -
Olaf Zanger