#!/usr/lib/zope/pcgi/pcgi-wrapper
#
# A PCGI info file for using Zope with Apache
#
# Prerequisites for use of Zope with Apache:
# - The apache package is installed.
# - apache is configured to pass authentification headers to CGI scripts
#   (see /usr/share/doc/zope/README.Debian)
# - ZServer is set up and running before the first request in Apache happens
#   (or see below for modifying this file to run Zope without ZServer)
#
# Please also read /usr/share/doc/zope/WEBSERVER.txt!
#
#        Gregor Hoffleit <flight@debian.org>
#
#
# PS: The use Zope without ZServer, modify this file as described below.
#
#     (When using ZServer, PCGI_PUBLISHER is intentionally an existing path
#     that's NOT usable by pcgi-wrapper as publisher! Without PCGI_PUBLISHER,
#     pcgi-wrapper wouldn't start the process. With a valid PCGI_PUBLISHER,
#     pcgi-wrapper would try to lock the Data.fs and fail, since it's
#     already used by ZServer.
#
#     When running Zope without ZServer, pcgi_wrapper needs a few more hints
#     to startup the Zope process, as you can see below.)
#

PCGI_NAME=Zope
PCGI_SOCKET_FILE=/var/lib/zope/var/Z2-pcgi.soc
PCGI_ERROR_LOG=/var/lib/zope/var/Z2-pcgi.log

# To use Zope with ZServer (default):
PCGI_PUBLISHER=/usr/lib/zope
PCGI_PID_FILE=/var/lib/zope/var/Z2-pcgi.pid

# To use Zope without ZServer, uncomment the following lines instead:
#PCGI_PUBLISHER=/usr/lib/zope/pcgi/pcgi_publisher.py
#PCGI_PID_FILE=/var/lib/zope/var/pcgi.pid
#PCGI_MODULE_PATH=/usr/lib/zope/lib/python/Zope
#PCGI_EXE=/usr/bin/python
#INSTANCE_HOME=/var/lib/zope
