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?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'deploy': 0.09; 'http': 0.09; 'pointers': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'runs': 0.10; 'suggest': 0.14; 'apache': 0.15; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Apache': 0.16; 'wsgi': 0.16; 'wsgi.': 0.16; 'previously': 0.22; 'switched': 0.24; 'server.': 0.24; 'question': 0.24; 'header:X-Complaints-To:1': 0.27; 'tried': 0.27; 'program,': 0.31; 'requests': 0.31; 'concern': 0.31; 'dropped': 0.31; 'anyone': 0.31; 'run': 0.32; 'received:co.za': 0.34; 'received:za': 0.34; 'something': 0.35; 'requirement': 0.35; 'but': 0.35; 'really': 0.36; 'interface,': 0.36; 'thanks': 0.36; 'possible': 0.36; 'subject:?': 0.36; 'should': 0.36; 'project': 0.37; 'feedback': 0.38; 'handle': 0.38; 'to:addr:python-list': 0.38; 'explain': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'discuss': 0.62; 'more': 0.64; 'frank': 0.68; 'started.': 0.68; 'received:41': 0.70; 'directly.': 0.95; 'serious': 0.97
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From "Frank Millman" <frank@chagford.com>
Subject Run an http server on Apache without wsgi?
Date Fri, 5 Sep 2014 09:26:43 +0200
X-Gmane-NNTP-Posting-Host 41-135-111-70.dsl.mweb.co.za
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.3790.4657
X-MimeOLE Produced By Microsoft MimeOLE V6.00.3790.4913
X-RFC2646 Format=Flowed; Original
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.13785.1409902022.18130.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1409902022 news.xs4all.nl 2835 [2001:888:2000:d::a6]:45415
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:77580

Show key headers only | 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