OK, after being much frustrated with PCGI/ZServer
(I run ZServer, and talk to it both direct to port (management), and from Roxen 
through PCGI), not working. I found the
'problem'.


This works:
=====
#! /bin/sh
reldir=`dirname $0`
PYTHONHOME=`cd $reldir; pwd`
export PYTHONHOME
exec /usr/bin/python \
     $PYTHONHOME/z2-2.2.py \
     -m '' -f '' -w6001 -d 127.0.0.1
====

This Does not:
====
#! /bin/sh
reldir=`dirname $0`
PYTHONHOME=`cd $reldir; pwd`
export PYTHONHOME
exec /usr/bin/python \
     $PYTHONHOME/z2-2.2.py \
     -X -w6001 -d 127.0.0.1
======

The difference is in the port options passed to z2.py. If you use the new -X, it shuts 
of pcgi. If you use the old -m ''
-f '' (fo ronly running web), it works.



--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to