"Frank Millman" <fr...@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. -- https://mail.python.org/mailman/listinfo/python-list