Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #27198
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.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.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'interpreter': 0.04; 'subject:Python': 0.05; '(python': 0.05; 'method.': 0.05; 'socket': 0.05; 'python': 0.09; 'mkdir': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'spawn': 0.09; 'aug': 0.13; 'apache': 0.13; 'gilles': 0.16; 'host)': 0.16; 'received:173.11': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'run.': 0.16; 'tcp': 0.16; 'wrote:': 0.17; 'module': 0.19; 'apps': 0.23; 'seems': 0.23; 'script': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'embedded': 0.27; 'handling': 0.27; 'correct': 0.28; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; 'cat': 0.29; 'cgi': 0.29; 'once,': 0.29; 'read,': 0.29; 'this.': 0.29; "i'm": 0.29; 'running': 0.32; '+0200,': 0.33; 'to:addr :python-list': 0.33; 'server': 0.35; 'faster': 0.35; 'subject:?': 0.35; 'received:org': 0.36; 'loaded': 0.36; 'thank': 0.36; 'does': 0.37; 'communicate': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'skip:l 20': 0.38; 'supports': 0.38; 'things': 0.38; 'sure': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'you.': 0.61; 'different': 0.63; 'programs,': 0.71; 'browse': 0.93; 'picture': 0.96 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Emile van Sebille <emile@fenx.com> |
| Subject | Re: Running Python web apps on shared ASO servers? |
| Date | Thu, 16 Aug 2012 12:59:20 -0700 |
| References | <qbsd289b9ndtrb5sg17u8gr8rge60kci4p@4ax.com> <u2vp289gg33grfqidq6jofpcbokmnrstl4@4ax.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | 173-11-108-137-sfba.hfc.comcastbusiness.net |
| User-Agent | Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
| In-Reply-To | <u2vp289gg33grfqidq6jofpcbokmnrstl4@4ax.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3392.1345147179.4697.python-list@python.org> (permalink) |
| Lines | 47 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1345147179 news.xs4all.nl 6945 [2001:888:2000:d::a6]:53872 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:27198 |
Show key headers only | View raw
On 8/16/2012 7:01 AM Gilles said... > On Sun, 12 Aug 2012 02:03:33 +0200, Gilles <nospam@nospam.com> wrote: >> Does it mean that ASO only supports writing Python web apps as >> long-running processes (CGI, FCGI, WSGI, SCGI) instead of embedded >> Python à la PHP? > > I need to get the big picture about the different solutions to run a > Python web application. > >>From what I read, it seems like this is the way things involved over > the years: > > CGI : original method. Slow because the server has to spawn a new > process to run the interpreter + script every time a script is run. > > mod_python : Apache module alternative to CGI. The interpreter is > loaded once, and running a script means just handling the script > > mod_wsgi : mod_python is no longer developped, and mod_wsgi is its new > reincarnation > > FastCGI and SCGI: Faster alternativees to CGI; Run as independent > programs, and communicate with the web server through either a Unix > socket (located on the same host) or a TCP socket (remote host) > > Is this correct? > > Thank you. > I'm sure there's no single correct answer to this. Consider (python 2.6]: emile@paj39:~$ mkdir web emile@paj39:~$ cd web emile@paj39:~/web$ cat > test.html hello from test.html emile@paj39:~/web$ python -m SimpleHTTPServer Then browse to localhost:8000/test.html Emile
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Running Python web apps on shared ASO servers? Gilles <nospam@nospam.com> - 2012-08-12 02:03 +0200
Re: Running Python web apps on shared ASO servers? Dieter Maurer <dieter@handshake.de> - 2012-08-12 07:56 +0200
Re: Running Python web apps on shared ASO servers? Gilles <nospam@nospam.com> - 2012-08-12 22:52 +0200
Re: Running Python web apps on shared ASO servers? Tim Golden <mail@timgolden.me.uk> - 2012-08-12 22:26 +0100
Re: Running Python web apps on shared ASO servers? Gilles <nospam@nospam.com> - 2012-08-13 13:28 +0200
Re: Running Python web apps on shared ASO servers? Gilles <nospam@nospam.com> - 2012-08-16 16:01 +0200
Re: Running Python web apps on shared ASO servers? Emile van Sebille <emile@fenx.com> - 2012-08-16 12:59 -0700
csiph-web