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

2015-06-17 Thread Michael Torrie
On 06/16/2015 12:19 PM, Chris Warrick wrote: > On Tue, Jun 16, 2015 at 8:14 PM, Néstor Boscán 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 >>

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

2015-06-16 Thread Chris Angelico
On Wed, Jun 17, 2015 at 4:22 AM, Néstor Boscán wrote: >> On Tue, Jun 16, 2015 at 8:14 PM, Néstor Boscán 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 exp

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

2015-06-16 Thread Néstor Boscán
On Tuesday, June 16, 2015, Chris Warrick wrote: > On Tue, Jun 16, 2015 at 8:14 PM, Néstor Boscán > 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 y

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

2015-06-16 Thread Chris Warrick
On Tue, Jun 16, 2015 at 8:14 PM, Néstor Boscán 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

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

2015-06-16 Thread Néstor Boscán
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 wrote: > On Tue,

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

2015-06-16 Thread Chris Warrick
On Tue, Jun 16, 2015 at 12:11 PM, Néstor Boscán 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

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

2015-06-16 Thread Néstor Boscán
Hi I disabled selinux completely and the page worked. Regards, Nestor On Tuesday, June 16, 2015, Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > On Tuesday 16 June 2015 13:31, Néstor Boscán wrote: > > > Tried it and I keep having the same error. Isn't there a log file where I

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

2015-06-16 Thread Steven D'Aprano
On Tuesday 16 June 2015 13:31, Néstor Boscán wrote: > Tried it and I keep having the same error. Isn't there a log file where I > can check what is causing this? Probably. Have you googled for "selinux log file"? We're not experts on SELinux, this is a Python mailing list, not a specialist SEL

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

2015-06-15 Thread Néstor Boscán
Tried it and I keep having the same error. Isn't there a log file where I can check what is causing this? Regards, Néstor On Sat, Jun 13, 2015 at 8:47 AM, zhou weitao wrote: > selinux is causing this, I guess. Please try run *setenforce 1* to bypass > it firstly. If it works then google the re

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

2015-06-14 Thread zhou weitao
selinux is causing this, I guess. Please try run *setenforce 1* to bypass it firstly. If it works then google the related configuration. from ex-redhatter 2015-06-12 20:51 GMT+08:00 Néstor Boscán : > Hi > > I've been trying to configure Apache and Python 2.7 on Red Hat. I've tried > the differe

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

2015-06-12 Thread Néstor Boscán
Hi I've been trying to configure Apache and Python 2.7 on Red Hat. I've tried the different configurations i've seen on the web, I've given chmod -R 777 tu my python code but I still get 403 Forbidden and I don't get any errors. Regards, Néstor -- https://mail.python.org/mailman/listinfo/python