Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2015 23:46:21 +0200
From:      Michel TALON <talon@lpthe.jussieu.fr>
To:        "questions@freebsd.org" <questions@freebsd.org>, Rod Person <rodperson@rodperson.com>
Subject:   Re: nginx and simple python cgi
Message-ID:  <20150530214621.GA32243@lpthe.jussieu.fr>

Next in thread | Raw E-Mail | Index | Archive | Help

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






Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20150530214621.GA32243>