diff options
| author | tkikuchi | 2006-10-09 02:03:45 +0000 |
|---|---|---|
| committer | tkikuchi | 2006-10-09 02:03:45 +0000 |
| commit | 454e264245c2f24e7e5d32f9d31734cb23c99026 (patch) | |
| tree | edcfd0a6a2a0b5b02143b0c91d88ea7e85cd183d /Mailman/Defaults.py.in | |
| parent | e22c46d9d4f440bf23d053f80954ab91928f33f7 (diff) | |
| download | mailman-454e264245c2f24e7e5d32f9d31734cb23c99026.tar.gz mailman-454e264245c2f24e7e5d32f9d31734cb23c99026.tar.zst mailman-454e264245c2f24e7e5d32f9d31734cb23c99026.zip | |
WSGI HTTP Server for Mailman Web interface.
Add: HTTPRunner.py ... Start/Restart/Stop HTTP Server under Runner framework.
wsgi_app.py ... WSGI to CGI wrapper. Mostly taken from scripts/driver.
loginit.py ... Add http log. Time stamp is duplicated :-(
Defaults.py ... HTTP_HOST and HTTP_PORT.
Note that WSGI server should be used under reverse proxy environment.
Diffstat (limited to 'Mailman/Defaults.py.in')
| -rw-r--r-- | Mailman/Defaults.py.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 9c441e4ac..3c5b9e2da 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -726,6 +726,15 @@ USE_LMTP = No LMTP_HOST = 'localhost' LMTP_PORT = 8025 +# Experimental WSGI Server. +# You must enable PROXY of Apache httpd server and configure to pass +# mailman CGI requests to this WSGI Server: +# ProxyPass /mailman/ http://localhost:2580/ +HTTP_HOST = 'localhost' +HTTP_PORT = 2580 +# Also you have to add following line to <prefix>/etc/mailman.cfg +# QRUNNERS.append(('HTTPRunner', 1)) + # After processing every file in the qrunner's slice, how long should the # runner sleep for before checking the queue directory again for new files? # This can be a fraction of a second, or zero to check immediately |
