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


Groups > comp.lang.python > #92691

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <kwpolska@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; '16,': 0.03; 'subject:Python': 0.05; 'subject:2.7': 0.09; 'worked.': 0.09; 'cc:addr:python-list': 0.10; 'subject:Apache': 0.16; 'subject:Hat': 0.16; 'subject:configure': 0.16; 'wrote:': 0.16; 'config': 0.18; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'disable': 0.22; 'disabled': 0.22; '2015': 0.23; 'file.': 0.24; 'header:In-Reply-To:1': 0.24; 'chris': 0.26; 'message- id:@mail.gmail.com': 0.28; 'command': 0.28; 'piece': 0.29; 'restart': 0.29; '(which': 0.29; 'problem': 0.33; 'received:google.com': 0.34; 'really': 0.35; 'so,': 0.37; 'subject:: ': 0.37; 'tue,': 0.38; 'pm,': 0.39; 'temporarily': 0.61; 'subject:get': 0.81; 'dumb': 0.84; 'subject:Red': 0.84
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 :cc:content-type:content-transfer-encoding; bh=xqO4daKH1OKmCVCJXFDkeQ5LebLn0KevT0d8Y0MxZ4E=; b=WW7mkZLHJVjZlTdhs9JMTHcDmVHbvh4W0RwfJhUPT+uZhBenGk3uiFAej2yAUQSbFJ OzhjI1D1G4TeAcBmxltrxTUSYQQIW6Ji80ikdjUK28SxCtHR7Om1LO7btlTxJupk3m3d OLQLcRYkchATK5H3l4wfd/l6xdK2RNQLzpoTuU5W1lAudEYF4ZWVYBumFLo0+HuApwjj JyTEaYRiCJzf4DO/mpQv1dAymqySRzQfPwA5ZmoOQ8ewMHs35L9WEBrp0jws6uKLA1o6 MCLzawVzpQIVMmKqjDcI+25zm6UVffaBCxt6zdB7JRaAkMEwJD0wy13OX44mnqh8pyQh Uryg==
MIME-Version 1.0
X-Received by 10.112.204.199 with SMTP id la7mr3024729lbc.114.1434478226663; Tue, 16 Jun 2015 11:10:26 -0700 (PDT)
In-Reply-To <CALyLaQK5=HQcuHkTm9QHcs5p05NXvJ7j-wpi9GffqDrcA14GVg@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>
Date Tue, 16 Jun 2015 20:10:26 +0200
Subject Re: Trying to configure Apache and Python 2.7 on Red Hat I get 403 Forbidden
From Chris Warrick <kwpolska@gmail.com>
To Néstor Boscán <nestorjb@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.521.1434478233.13271.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1434478233 news.xs4all.nl 2914 [2001:888:2000:d::a6]:56054
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:92691

Show key headers only | View raw


On Tue, Jun 16, 2015 at 12:11 PM, Néstor Boscán <nestorjb@gmail.com> wrote:
> I disabled selinux completely and the page worked.

So, selinux was the problem (which is typical, it’s a really dumb
piece of software)

The command to disable enforcing temporarily is actually "setenforce
0". Though you would need to issue it on every restart if you did not
change the config file.

-- 
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

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