At 10:55 AM 2/8/99 -0500, Phillip J. Eby wrote:
My newer FastCGI code is more a matter of changing to use Robin Dunn's "fcgi" module in place of DC's "fcgiapp" so that it can be run multithreaded, and creating a class framework for standalone publishers that takes care of most of the messy plumbing overhead. I'm factoring the code into (proposed) ZPublisher.Config and ZPublisher.Plumbing. I hope to have some working code to present today.
Well, here they are: ZPublisher.Config - configuration and publishing defaults for Zope ZPublisher.Plumbing - Zope "plumbing" base class w/subclasses for CGI & FastCGI Zopestart - A script for starting Zope under CGI or FastCGI I have been running Zope under an earlier FastCGI attempt for the last couple of weeks; and have been running this version for a few hours today. To use these files, you'll need to stick Plumbing.py and Config.py into the lib/python/ZPublisher directory of your Zope installation, and Zopestart someplace it can be executed by your CGI back-end. You can edit it to override "INSTANCE_HOME" or you can pass it INSTANCE_HOME in the environment. You will need a FastCGI-supporting server or a cgi-fcgi script to use it. It should be possible to create subclasses to handle PCGI and direct HTTP, but may not be worthwhile in favor of using ZServer.