Hi,
I am new to centos. I recently started working on apache and django. when i checked how to install apache on centos i found on link that it is saying Httpd file will come default by centos.
I edited http.conf in /etc/httpd folder to match my django settings.i just added 2 lines of code in the last:
the added lines where
WSGIScriptAlias / /home/intel/Downloads/gopi/mobichat/mobichat/wsgi.py
WSGIPythonPath /home/intel/Downloads/gopi/mobichat
i uncomentted the Listen *80 line.
when i go for url 127.0.1.1/images/404.png
it was throwig the 403 forbidden error.
The images folder in under /mobicaht/ux/static/images
Please help, me i am trying it for the last one day
You dont have permission to acces/ on this server
-
- Posts: 1
- Joined: 2014/04/17 07:52:17
Re: You dont have permission to acces/ on this server
Hello and welcome to the fora,
from the top of my head I would assume a SElinux issue. httpd is probably not allowed to access those directories you configured. If this is the case, you should find SElinux deny messages in /var/log/audit/audit.log when trying to access the website.
from the top of my head I would assume a SElinux issue. httpd is probably not allowed to access those directories you configured. If this is the case, you should find SElinux deny messages in /var/log/audit/audit.log when trying to access the website.
New users: take a look at this page