[Zope] Zope PCGI under OSX

Jens Vagelpohl jens@zope.com
Sat, 29 Mar 2003 18:47:47 -0500


if there is no pressing reason to use PCGI then don't use it. use 
mod_rewrite to rewrite request URLs to reach zope. there are numerous 
howtos on zope.org for that. it's simpler and faster.

jens


On Saturday, Mar 29, 2003, at 18:20 US/Eastern, Victor Ng wrote:

> I'm trying to get Zope to run with Apache on my OSX machine (10.2.4), 
> but I can't figure out how to configure PCGI.
>
> I've compiled the pcgi-wrapper executable, but I'm not sure if it 
> works - is there a way I can test it?
>
> The zope server is currently running under it's own user named 'zope' 
> and I can access it normally under port 8080 - including the 
> management screens.
>
> I don't seem to have a Zope.cgi (or pcgi) file created after I 
> installed Zope 2.6.1 from source.
>
> I've tried hand building a Zope.cgi and placing it under 
> /Library/WebServer/CGI-Executables with the following contents:
>
> #!/usr/local/zope-2_6_1/pcgi/pcgi-wrapperPCGI_NAME=Zope
> PCGI_PORT=8090
> PCGI_MODULE_PATH=/usr/local/zope-2_6_1/lib/python/Main.py
> PCGI_PUBLISHER=/usr/local/zope-2_6_1/pcgi/pcgi_publisher.py
> PCGI_EXE=/usr/local/zope-2_6_1/pcgi
> PCGI_SOCKET_FILE=/usr/local/zope-2_6_1/pcgi/pcgi.soc
> PCGI_PID_FILE=/usr/local/zope-2_6_1/pcgi/pcgi.pid
> PCGI_ERROR_LOG=/usr/local/zope-2_6_1/pcgi/pcgi.log
> PCGI_DISPLAY_ERRORS=1
> BOBO_REALM=Zope
> BOBO_DEBUG_MODE=1
> INSTANCE_HOME=/usr/local/zope-2_6_1
>
> How do I glue Apache to Zope using PCGI?  Where can I find 
> documentation on how to use PCGI?  I get the feeling that I'm doing 
> something wrong with permissions - but I'm lost as to what to do.
>
> vic
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )