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


Groups > comp.lang.python > #92693

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

References (2 earlier) <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>
Date 2015-06-16 20:19 +0200
Subject Re: Trying to configure Apache and Python 2.7 on Red Hat I get 403 Forbidden
From Chris Warrick <kwpolska@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.523.1434478783.13271.python-list@python.org> (permalink)

Show all headers | View raw


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.

PS. please don’t top-post.

-- 
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