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


Groups > comp.lang.python > #71784

Re: Python CGI

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'scripts': 0.03; 'subject:Python': 0.06; 'executed': 0.09; 'output,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'wrote': 0.14; '-tkc': 0.16; 'burak': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'wrote:': 0.18; 'manual': 0.22; 'cc:addr:python.org': 0.22; "aren't": 0.24; 'script.': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'running': 0.33; "i'd": 0.34; 'but': 0.35; 'there': 0.35; 'charset:us-ascii': 0.36; 'christian': 0.38; 'sure': 0.39; 'how': 0.40; 'tell': 0.60; 'issues,': 0.61; 'received:50.22': 0.84
Date Mon, 19 May 2014 20:52:52 -0500
From Tim Chase <python.list@tim.thechases.com>
To Christian <chris_news@arcor.de>
Subject Re: Python CGI
In-Reply-To <btv115Fb0rlU1@mid.individual.net>
References <btv115Fb0rlU1@mid.individual.net>
X-Mailer Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - boston.accountservergroup.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - tim.thechases.com
X-Get-Message-Sender-Via boston.accountservergroup.com: authenticated_id: tim@thechases.com
Cc python-list@python.org
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.10147.1400550799.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1400550799 news.xs4all.nl 2847 [2001:888:2000:d::a6]:53304
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:71784

Show key headers only | View raw


On 2014-05-19 20:32, Christian wrote:
> I'd like to use Python for CGI-Scripts. Is there a manual how to
> setup Python with Fast-CGI? I'd like to make sure that Python
> scripts aren't executed by www-user, but the user who wrote the
> script.

While Burak addressed your (Fast-)CGI issues, once you have a
test-script successfully giving you output, you can use the
standard-library's getpass.getuser() function to tell who your script
is running as.

-tkc

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


Thread

Python CGI Christian <chris_news@arcor.de> - 2014-05-19 20:32 +0200
  Re: Python CGI Burak Arslan <burak.arslan@arskom.com.tr> - 2014-05-19 21:53 +0300
  Re: Python CGI Tim Chase <python.list@tim.thechases.com> - 2014-05-19 20:52 -0500
  WSGI (was: Re: Python CGI) Christian <chris_news@arcor.de> - 2014-05-25 09:01 +0200
  WSGI (was: Re: Python CGI) Chris <ch2009@arcor.de> - 2014-05-25 09:06 +0200
    Re: WSGI (was: Re: Python CGI) alister <alister.nospam.ware@ntlworld.com> - 2014-05-25 10:04 +0000
      Re: WSGI Chris <ch2009@arcor.de> - 2014-05-25 14:22 +0200

csiph-web