Run an http server on Apache without wsgi?
dieter
dieter at handshake.de
Sat Sep 6 01:54:08 EDT 2014
"Frank Millman" <frank at chagford.com> writes:
> My AccInABox project runs an http server. Previously I used the cherry.py
> wsgiserver, but I have now switched to asyncio.
>
> I tried to use the wsgi interface, but I have a particular requirement and
> found that wsgi got in the way, so I dropped it and now handle all requests
> directly.
>
> Now the question arises, what if someone wants to run my program under
> Apache or nginx?
There are various ways to interface Apache and Python: among
others "cgi", "fcgi", "wsgi". There also used to be "mod_python"
which allowed to run Python directly inside an Apache process - however,
this module is no longer supported.
More information about the Python-list
mailing list