On Wed, Jan 1, 2014 at 8:27 PM, JAGANADH G <[email protected]> wrote:

> Hi Friends,
>
> I deployed a Django-webapp using apache2 in RHEL6.
> When I try to access the url it says
>
> """Forbidden
>
> You don't have permission to access /index/ on this server."""
>
> Myviryual host entry is
> </VirtualHost>
> <VirtualHost *:80>
>     ServerName jagan_server
>     DocumentRoot /home/jagan/trunk/webapp/static
>     WSGIScriptAlias / /home/jagan/trunk/webapp/index.wsgi
>     WSGIDaemonProcess jagan_server processes=1 threads=25
>
> python-path=/home/jagan/trunk/webapp:/home/jagan/prod/lib/python2.6/site-packages
>     <Location "/static/">
>         Options -Indexes
>         Order deny,allow
>         Allow from all
>     </Location>
>     Alias /static/ "/home/jagan/trunk/webapp/static/"
>     Alias /templates/ "/home/jagan/trunk/webapp/templates/"
>         <Directory /home/jagan/trunk/webapp/static>
>         AllowOverride None
>         Order allow,deny
>         #Allow from all
>         Satisfy Any
>     </Directory>
> </VirtualHost>
>
> Selinux is disabled in the system too.
>
> Any clue how to resolve this issue.
>

Since your Apache's DocumentRoot is /home/jagan/, you need to set chmod 711
for /home/jagan/ to work.

Try and post your results.

S. Baskar
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to