Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; '16,': 0.03; 'subject:Python': 0.05; 'skip:/ 10': 0.07; 'subject:2.7': 0.09; 'log.': 0.16; 'reboot': 0.16; 'subject:Apache': 0.16; 'subject:Hat': 0.16; 'subject:configure': 0.16; 'wsgi': 0.16; 'wrote:': 0.16; 'to:name:python-list@python.org': 0.20; 'to:2**1': 0.22; '2015': 0.23; 'module': 0.23; 'tried': 0.24; 'header:In- Reply-To:1': 0.24; 'chris': 0.26; 'message-id:@mail.gmail.com': 0.28; 'work.': 0.30; 'received:google.com': 0.34; 'to:addr:python- list': 0.35; 'but': 0.36; 'there': 0.36; 'should': 0.37; "didn't": 0.37; 'subject:: ': 0.37; 'tue,': 0.38; 'pm,': 0.39; 'to:addr:python.org': 0.39; 'why': 0.40; 'some': 0.40; 'caused': 0.61; 'skip:\xe2 10': 0.70; 'subject:get': 0.81; 'subject:Red': 0.84; 'ps.': 0.91; 'audit': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=VvSidVTsPGZD3ksihK1TU5FcwHhk+5c4r3jOOyNY1/g=; b=P25I6fbfXKC72YzeB18k5M6Exubha9oakZeRoWRgWN2gf4FuCDPd4DRMrAUkU4Qhty /onWP4mPY73tAZuE5EwK1uL8FIo4hQGv2jIsRlWdrdphskKzSD345yhcq/bUYziAyQmi XV+1fV7G7SrSuoEz0RBla1R8cubLJuHJJ9L7v3wzkUCngb7WwXekdwwQV35XV0eY42Me 9J4T0uQ/VfHwD4Z1GDyGvtXxAeYwes6hlQDcfB4UkDQFYdVgc94XYybN1NWXvIvVO+ui niIywW4JZD4a8tHrMTOL8qAdd8pJ5wn7UFMWwI0u4ChwwSKB99bcRgc1hNBawEl97O7I euMw== MIME-Version: 1.0 X-Received: by 10.112.204.199 with SMTP id la7mr3087430lbc.114.1434478775255; Tue, 16 Jun 2015 11:19:35 -0700 (PDT) In-Reply-To: References: <557feaf7$0$1655$c3e8da3$5496439d@news.astraweb.com> Date: Tue, 16 Jun 2015 20:19:35 +0200 Subject: Re: Trying to configure Apache and Python 2.7 on Red Hat I get 403 Forbidden From: Chris Warrick To: =?UTF-8?B?TsOpc3RvciBCb3Njw6Fu?= , "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.20+ 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1434478783 news.xs4all.nl 2835 [2001:888:2000:d::a6]:37236 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:92693 On Tue, Jun 16, 2015 at 8:14 PM, N=C3=A9stor Bosc=C3=A1n wrote: > I tried that but it didn't work. > > I had to change /etc/selinux/config and reboot to make it work. It would= be > nice if the wsgi module generated some log that explains why you get the > 403. There are several posibilities. Well, that=E2=80=99s not wsgi=E2=80=99s fault. There was a =E2=80=9Cpermis= sion denied=E2=80=9D error, that=E2=80=99s everything wsgi ever knew. As a RHEL sysadmin, you should know that this is most likely caused by braindead syslinux and to read the audit log. PS. please don=E2=80=99t top-post. --=20 Chris Warrick PGP: 5EAAEA16