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

Néstor Boscán nestorjb at gmail.com
Tue Jun 16 14:14:45 EDT 2015


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.

Regards,

Nestor

On Tuesday, June 16, 2015, Chris Warrick <kwpolska at gmail.com> wrote:

> On Tue, Jun 16, 2015 at 12:11 PM, Néstor Boscán <nestorjb at gmail.com
> <javascript:;>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150616/df023783/attachment.html>


More information about the Python-list mailing list