You dont have permission to acces/ on this server

Issues related to applications and software problems
Post Reply
Gopi_krishna
Posts: 1
Joined: 2014/04/17 07:52:17

You dont have permission to acces/ on this server

Post by Gopi_krishna » 2014/04/17 07:59:01

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

tigalch
QA Team
Posts: 522
Joined: 2012/06/23 17:28:41
Location: Austria

Re: You dont have permission to acces/ on this server

Post by tigalch » 2014/04/17 18:02:26

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.
New users: take a look at this page

Post Reply