[Zope] pcgi authorization trouble

Mayers, Philip J p.mayers@ic.ac.uk
Mon, 26 Mar 2001 18:10:13 +0100


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 )