Commit 11022628 authored by Andreas Jung's avatar Andreas Jung

deprecated FastCGI

parent cfa53d17
...@@ -26,6 +26,8 @@ Zope Changes ...@@ -26,6 +26,8 @@ Zope Changes
Features added Features added
- Using FastCGI is officially deprecated
- Improved logging of ConflictErrors. Now a log is made at level - Improved logging of ConflictErrors. Now a log is made at level
BLATHER with traceback for any conflict retried. In addition, a BLATHER with traceback for any conflict retried. In addition, a
log is made at level ERROR for a conflict that can't be retried log is made at level ERROR for a conflict that can't be retried
......
...@@ -110,6 +110,8 @@ Using Zope in multi-threaded mode with ZServer ...@@ -110,6 +110,8 @@ Using Zope in multi-threaded mode with ZServer
FastCGI FastCGI
FastCGI is deprecated and should not be used anymore.
FastCGI is relatively easy to set up if you have installed an Apache 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 module before. If you haven't, don't worry, it isn't difficult. It
comes with straightforward instructions. You will need to download comes with straightforward instructions. You will need to download
......
...@@ -132,6 +132,11 @@ class PCGIServerFactory(ServerFactory): ...@@ -132,6 +132,11 @@ class PCGIServerFactory(ServerFactory):
class FCGIServerFactory(ServerFactory): class FCGIServerFactory(ServerFactory):
def __init__(self, section): 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 import socket
if section.address.family == socket.AF_INET: if section.address.family == socket.AF_INET:
address = section.address.address address = section.address.address
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment