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


Groups > comp.lang.python > #77637

Re: 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!newsfeed3.news.xs4all.nl!xs4all!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.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'http': 0.09; 'python:': 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; 'python': 0.11; 'apache': 0.15; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'subject:Apache': 0.16; 'supported.': 0.16; 'wsgi': 0.16; 'module': 0.19; 'previously': 0.22; 'header:User-Agent:1': 0.23; 'switched': 0.24; 'server.': 0.24; 'question': 0.24; 'header:X-Complaints-To:1': 0.27; 'tried': 0.27; 'requests': 0.31; 'dropped': 0.31; 'writes:': 0.31; 'interface': 0.32; 'run': 0.32; 'requirement': 0.35; 'but': 0.35; 'there': 0.35; 'interface,': 0.36; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'project': 0.37; 'handle': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'received:217': 0.63; 'directly.': 0.95
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From dieter <dieter@handshake.de>
Subject Re: Run an http server on Apache without wsgi?
Date Sat, 06 Sep 2014 07:54:08 +0200
References <lubojh$7r8$1@ger.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Gmane-NNTP-Posting-Host pd9e0a99f.dip0.t-ipconnect.de
User-Agent Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux)
Cancel-Lock sha1:2NXEQ1kQFAwbaW0n5BebB/IxRk4=
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.13821.1409982860.18130.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1409982860 news.xs4all.nl 2838 [2001:888:2000:d::a6]:45563
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:77637

Show key headers only | View raw


"Frank Millman" <frank@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.

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


Thread

Re: Run an http server on Apache without wsgi? dieter <dieter@handshake.de> - 2014-09-06 07:54 +0200

csiph-web