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


Groups > comp.lang.python > #92710

Re: Trying to configure Apache and Python 2.7 on Red Hat I get 403 Forbidden

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.031
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; '16,': 0.03; 'subject:Python': 0.05; 'skip:/ 10': 0.07; 'output,': 0.09; 'subject:2.7': 0.09; 'cc:addr:python-list': 0.10; 'wed,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'log.': 0.16; 'log?': 0.16; 'reboot': 0.16; 'subject:Apache': 0.16; 'subject:Hat': 0.16; 'subject:configure': 0.16; 'wsgi': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'trying': 0.22; 'am,': 0.23; '2015': 0.23; 'module': 0.23; 'tried': 0.24; 'header:In-Reply-To:1': 0.24; 'message- id:@mail.gmail.com': 0.28; 'for,': 0.29; 'there.': 0.30; 'work.': 0.30; 'file': 0.34; 'received:google.com': 0.34; 'could': 0.35; 'problem.': 0.35; 'but': 0.36; 'text': 0.36; 'there': 0.36; 'should': 0.37; "didn't": 0.37; 'subject:: ': 0.37; 'tue,': 0.38; 'doing': 0.38; 'pm,': 0.39; 'does': 0.39; 'why': 0.40; 'some': 0.40; 'yes': 0.60; 'caused': 0.61; 'more': 0.62; 'reach': 0.62; 'information': 0.62; 'python-list': 0.66; 'situation': 0.67; 'skip:\xe2 10': 0.70; 'obvious': 0.72; 'wish': 0.72; 'subject:get': 0.81; 'chrisa': 0.84; 'subject:Red': 0.84; 'to:none': 0.90; 'careful': 0.91; 'audit': 0.93; 'cutting': 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:cc :content-type:content-transfer-encoding; bh=bFOwxVDTmtC5PJfXbf9lEau+B5yAKyB5muxHSmznC/o=; b=DIstxFc5nilm07aMG4jz9O/tP88+ZFc46G3zPxI1LJMNwP0eHzOgYtdEkdkgsV2BG/ 8ctjHFCI/7CKIvfDn/vQEf/FV7WTevopuW8n/iJWOBqlkU4Z5g14MwFjfZ/2PQ2ixNB3 XP6C5QNwVi13QcQKWr/D4q/hlaqqGH8Jl96gIucfXSPCSusRg+dls1+UOT2Bzt38KrcP vqcRyQkblxknf7y+yA0sTOx8wC2vK/5TJHxL8pxyJmaSzNDwNcqMwbX5ni9jrzpzEMkg 9GD6xdj/1SajrQ0xC15BwEckUgqb4bdinJg2+mLGYuudJZaNaJvFG8Lr9Kaq6sPChMdi apiQ==
MIME-Version 1.0
X-Received by 10.42.127.202 with SMTP id j10mr5704639ics.26.1434499093932; Tue, 16 Jun 2015 16:58:13 -0700 (PDT)
In-Reply-To <CALyLaQKbKUFK5H70cN7WvZh2-5-MOgcg+mkRWr+98yaG6KM1PQ@mail.gmail.com>
References <CALyLaQKsLBh7DvqaDRaLnceAE_zRBB2p0Yg+Vm8YXukQ=x98OA@mail.gmail.com> <CABD09x9JQrb0dUXf7JNbqJT7OsDDgM6mftU9PcBU8YFP4PXdvQ@mail.gmail.com> <mailman.499.1434425540.13271.python-list@python.org> <557feaf7$0$1655$c3e8da3$5496439d@news.astraweb.com> <CALyLaQK5=HQcuHkTm9QHcs5p05NXvJ7j-wpi9GffqDrcA14GVg@mail.gmail.com> <CAMw+j7Lhpt8hs8uZ3CFFNyyntg_RPEqrN82cPG2bfCvU_0rTRw@mail.gmail.com> <CALyLaQJfL8iaxmPgj+WFj6WaV19xJwBoCWOeS2W-kw3NjRisWg@mail.gmail.com> <CAMw+j7JXD7H29XJUyW_W18gPNZSPfYXBbTz3BZ7XSLPxPGqwnw@mail.gmail.com> <CALyLaQKbKUFK5H70cN7WvZh2-5-MOgcg+mkRWr+98yaG6KM1PQ@mail.gmail.com>
Date Wed, 17 Jun 2015 09:58:13 +1000
Subject Re: Trying to configure Apache and Python 2.7 on Red Hat I get 403 Forbidden
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <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.529.1434499102.13271.python-list@python.org> (permalink)
Lines 29
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1434499102 news.xs4all.nl 2942 [2001:888:2000:d::a6]:51101
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:92710

Show key headers only | View raw


On Wed, Jun 17, 2015 at 4:22 AM, Néstor Boscán <nestorjb@gmail.com> wrote:
>> On Tue, Jun 16, 2015 at 8:14 PM, Néstor Boscán <nestorjb@gmail.com> 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’s not wsgi’s fault.  There was a “permission denied” error,
>> that’s 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.
>
>
> Yes but it could log which os file was it trying to access.

If you want to know what a program was doing when it got some error,
the obvious sledgehammer to reach for is strace. Cutting the situation
down to size so you can actually find what you want in strace's
output, now, that's a whole new problem. But the information will be
there. You want a log? Be careful what you wish for, you might get one
that spews more text than python-list does :)

ChrisA

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


Thread

Re: Trying to configure Apache and Python 2.7 on Red Hat I get 403 Forbidden Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-06-16 19:23 +1000
  Re: Trying to configure Apache and Python 2.7 on Red Hat I get 403 Forbidden Chris Warrick <kwpolska@gmail.com> - 2015-06-16 20:10 +0200
  Re: Trying to configure Apache and Python 2.7 on Red Hat I get 403 Forbidden Chris Warrick <kwpolska@gmail.com> - 2015-06-16 20:19 +0200
  Re: Trying to configure Apache and Python 2.7 on Red Hat I get 403 Forbidden Chris Angelico <rosuav@gmail.com> - 2015-06-17 09:58 +1000
  Re: Trying to configure Apache and Python 2.7 on Red Hat I get 403 Forbidden Michael Torrie <torriem@gmail.com> - 2015-06-17 11:00 -0600

csiph-web