nginx and simple python cgi

Michel TALON talon at lpthe.jussieu.fr
Sat May 30 21:52:10 UTC 2015


This is a simple python script which does wscgi communication
with a http server (in my case httpd), you may take it as example.
http://www.lpthe.jussieu.fr/~talon/show_index.fcgi

The part of interest to you is after
def request_handler(environ, start_response) :
and especially after
try:
    from flup.server.fcgi import WSGIServer





More information about the freebsd-questions mailing list