[Zope] Using ZServer with Apache
Jim Cain
jec@mgmt-inc.com
Thu, 17 Jun 1999 14:18:58 -0400
--On Thursday, June 17, 1999, 9:33 AM -0700 Amos Latteier
<amos@aracnet.com> wrote:
> At 11:37 PM 6/16/99 -0400, Jim Cain wrote:
>> I have a Zope.cgi with INSTANCE_NAME that points to where I keep my
>> database, but when I run ZServer with the following:
>>
>> python z2.py -p /home/httpd/cgi-bin/at/Zope.cgi -2 -w ""
>>
>> it's still referring to the var directory at the Zope installation
>> instead of the one at INSTANCE_NAME. How do I get this to work?
>
> I think you need to use INSTANCE_HOME not INSTANCE_NAME.
>
> -Amos
>
> P.S. your ZServer command line options look good.
Yes, I mistyped that. It is indeed INSTANCE_HOME in the Zope.cgi, but it
doesn't appear to have an effect. I added it to the command line and it
worked fine, like this:
python z2.py -p /home/httpd/cgi-bin/at/Zope.cgi -2 -w "" \
INSTANCE_HOME=/home/httpd/zope/at
Now I notice that the process dies now and then. Is the -Z managerial
process supposed to help out with this?
Jim