Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77580

Run an http server on Apache without wsgi?

From "Frank Millman" <frank@chagford.com>
Subject Run an http server on Apache without wsgi?
Date 2014-09-05 09:26 +0200
Newsgroups comp.lang.python
Message-ID <mailman.13785.1409902022.18130.python-list@python.org> (permalink)

Show all headers | View raw


Hi all

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? I have had some feedback from a sysadmin, whose main 
concern is how to deploy my program, which is something I have not given 
serious thought to.

If the answer is that I really should be using wsgi, I will explain my 
specific requirement in more detail, and see if anyone can suggest a 
workaround.

But at this stage, I would like to discuss whether it is possible to avoid 
using wsgi. Should I be looking at FastCGI, or is that now considered 
outdated?

I would appreciate any pointers or links to get me started.

Thanks

Frank Millman


Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Run an http server on Apache without wsgi? "Frank Millman" <frank@chagford.com> - 2014-09-05 09:26 +0200

csiph-web