[Zope-Checkins] SVN: Zope/trunk/ Deprecated FastCGI

Andreas Jung andreas at andreas-jung.com
Fri Dec 2 08:29:47 EST 2005


Log message for revision 40466:
  Deprecated FastCGI
  

Changed:
  U   Zope/trunk/doc/CHANGES.txt
  U   Zope/trunk/doc/WEBSERVER.txt
  U   Zope/trunk/lib/python/ZServer/FCGIServer.py

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2005-12-02 12:10:29 UTC (rev 40465)
+++ Zope/trunk/doc/CHANGES.txt	2005-12-02 13:29:46 UTC (rev 40466)
@@ -26,6 +26,8 @@
 
     Features added
 
+      - Using FastCGI is offically 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/trunk/doc/WEBSERVER.txt
===================================================================
--- Zope/trunk/doc/WEBSERVER.txt	2005-12-02 12:10:29 UTC (rev 40465)
+++ Zope/trunk/doc/WEBSERVER.txt	2005-12-02 13:29:46 UTC (rev 40466)
@@ -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/trunk/lib/python/ZServer/FCGIServer.py
===================================================================
--- Zope/trunk/lib/python/ZServer/FCGIServer.py	2005-12-02 12:10:29 UTC (rev 40465)
+++ Zope/trunk/lib/python/ZServer/FCGIServer.py	2005-12-02 13:29:46 UTC (rev 40466)
@@ -48,6 +48,10 @@
 import thread
 from types import StringTypes
 
+import warnings
+warnings.warn("Using FastCGI is deprecated. You should use mod_proxy " +
+              "to run Zope with Apache", DeprecationWarning)
+
 tz_for_log = compute_timezone_for_log()
 
 #----------------------------------------------------------------------



More information about the Zope-Checkins mailing list