Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'scripts': 0.03; '[0]': 0.09; '[1]:': 0.09; 'lawrence': 0.09; 'subject:script': 0.09; 'python': 0.11; 'apache': 0.15; '(just': 0.16; 'gpg': 0.16; 'normally,': 0.16; 'permissions.': 0.16; 'subject:Apache': 0.16; 'subject:issue': 0.16; 'subject:run': 0.16; 'wsgi': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'user.': 0.19; 'python?': 0.22; 'module,': 0.24; 'server.': 0.24; '---': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'feature': 0.29; '[1]': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'page.': 0.31; 'cgi': 0.31; 'subject:that': 0.31; 'allows': 0.31; 'file': 0.32; 'run': 0.32; 'url:python': 0.33; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'should': 0.36; 'wrong': 0.37; 'received:209': 0.37; 'server': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'explain': 0.39; 'to:addr:python.org': 0.39; 'users': 0.40; 'url:mail': 0.40; 'read': 0.60; 'from:charset:utf-8': 0.61; 'url:index': 0.63; 'different': 0.65; 'nobody': 0.68; 'default': 0.69; 'url:htm': 0.73; 'intelligent': 0.74; 'power': 0.76; '8bit%:16': 0.84; 'url:php': 0.85; 'story.': 0.93; 'subject:let': 0.93; 'url:tk': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=G1nfi1xM21ag+WoMdGul1zMW5W/gEY4n+G2Govp6Hnk=; b=igFHfbWkiKke9U07v47e/eA1C+zTodam7Akv5wI88OTxm/LKXwoEuC+se1LC/cJ9ai 78RzjYirZynr5AcKcGQLGAuw4bdBOKnFK2fk6VGWyTKOZoaSXy7MJc6bQDP54oJXWVOj EqxmOb1JSgApZ11MfCLjNH7UIWdQjhqVhd4QhD3zu9IlcG7UOHmmuqITrNDpm59iducz spi14xB1fDP3sc5jgtf4TLGlL3p7D9TNKo3OR82Tg2t4TkglzxyCBnN+AHGOTrDT6TiD DOejMfFQ+ldZoWGO/3C6DM4K2ZnGEvdwDyAiPXz4IEA67WvQJCZawMk2Jb0qqpotj5J9 ORkw== X-Received: by 10.220.114.203 with SMTP id f11mr18635454vcq.21.1370358427835; Tue, 04 Jun 2013 08:07:07 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20a49aac-3867-481f-96d4-c95a050781ed@googlegroups.com> <51AD70E8.70506@gmail.com> <6c0ed9da-0f29-4b6b-a804-771763454dd4@googlegroups.com> <4ed43a69-0dfe-4078-a836-db5201811761@googlegroups.com> <2e1dbdc2-6bca-4c4e-93b0-4c0cddb72bc1@googlegroups.com> <03d8964e-7cea-4072-b1f1-19d83e494191@googlegroups.com> <4b65cdfe-b6c2-4d97-8623-77b10711bf78@googlegroups.com> <2ecc95c4-6114-49a6-ad47-df7bae4adfde@googlegroups.com> From: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= Date: Tue, 4 Jun 2013 17:06:47 +0200 Subject: Re: Apache and suexec issue that wont let me run my python script To: python-list@python.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370358430 news.xs4all.nl 15989 [2001:888:2000:d::a6]:57670 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46913 On Tue, Jun 4, 2013 at 4:49 PM, Mark Lawrence wro= te: > I don't know much about the Python suexec module, can you please explain > where it's documented. Or is suexec nothing to do with Python? >From Wikipedia: > Apache suEXEC is a feature of the Apache Web server. It allows users to r= un CGI and SSI applications as a different user - normally, all web server = processes run as the default web server user (often wwwrun, Apache or nobod= y). In other words: Nikolaos is trying to do something HORRIBLY WRONG (just like always). The proper way would be to run the python scripts through WSGI as the standard nobody user. Or do proper file permissions. And WSGI should be used through something intelligent (flask/pyramid/=E2=80=A6) --- OT START --- On Tue, Jun 4, 2013 at 4:33 PM, Chris Angelico wrote: > You should try power surging your drivers. Have you got a spare power cor= d? > > ChrisA > > [1] http://www.oocities.org/timessquare/4753/bofh.htm > -- > http://mail.python.org/mailman/listinfo/python-list Please link and read at the BOFH=E2=80=99s page. [0] is the page and [1] i= s this exact story. [0]: http://bofh.ntk.net/BOFH/index.php [1]: http://bofh.ntk.net/BOFH/0000/bastard07.php -- Kwpolska | GPG KEY: 5EAAEA16 stop html mail | always bottom-post http://asciiribbon.org | http://caliburn.nl/topposting.html