[Zope-Checkins] SVN: Zope/branches/2.9/ deprecated FastCGI
Andreas Jung
andreas at andreas-jung.com
Fri Dec 2 08:49:56 EST 2005
Log message for revision 40469:
deprecated FastCGI
Changed:
U Zope/branches/2.9/doc/CHANGES.txt
U Zope/branches/2.9/doc/WEBSERVER.txt
U Zope/branches/2.9/lib/python/ZServer/datatypes.py
-=-
Modified: Zope/branches/2.9/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.9/doc/CHANGES.txt 2005-12-02 13:45:58 UTC (rev 40468)
+++ Zope/branches/2.9/doc/CHANGES.txt 2005-12-02 13:49:55 UTC (rev 40469)
@@ -26,6 +26,8 @@
Features added
+ - Using FastCGI is officially deprecated
+
- Improved logging of ConflictErrors. Now a log is made at level
BLATHER with traceback for any conflict retried. In addition, a
log is made at level ERROR for a conflict that can't be retried
Modified: Zope/branches/2.9/doc/WEBSERVER.txt
===================================================================
--- Zope/branches/2.9/doc/WEBSERVER.txt 2005-12-02 13:45:58 UTC (rev 40468)
+++ Zope/branches/2.9/doc/WEBSERVER.txt 2005-12-02 13:49:55 UTC (rev 40469)
@@ -110,6 +110,8 @@
FastCGI
+ FastCGI is deprecated and should not be used anymore.
+
FastCGI is relatively easy to set up if you have installed an Apache
module before. If you haven't, don't worry, it isn't difficult. It
comes with straightforward instructions. You will need to download
Modified: Zope/branches/2.9/lib/python/ZServer/datatypes.py
===================================================================
--- Zope/branches/2.9/lib/python/ZServer/datatypes.py 2005-12-02 13:45:58 UTC (rev 40468)
+++ Zope/branches/2.9/lib/python/ZServer/datatypes.py 2005-12-02 13:49:55 UTC (rev 40469)
@@ -132,6 +132,11 @@
class FCGIServerFactory(ServerFactory):
def __init__(self, section):
+
+ import warnings
+ warnings.warn("Using FastCGI is deprecated. You should use mod_proxy "
+ "to run Zope with Apache", DeprecationWarning)
+
import socket
if section.address.family == socket.AF_INET:
address = section.address.address
More information about the Zope-Checkins
mailing list