Permission denied - AH00035: access to / denied

August 19, 2014 23.3k views

I have django 1.6.5, virtual env 1.11.6, apache webserver installed. I am getting this error in my log - (13)Permission denied: [client xx.xx.xx.xxx:xxxxx] AH00035: access to / denied (filesystem path '/root/mysrc') because search permissions are missing on a component of the path. What I am doing wrong?

1 Answer

The Apache documentation deals with this error. Check the output of ls -la /root/mysrc Most likely, you just need to set the executable bit on the folder by running:

chmod +x /root/mysrc

You might also want to check out this tutorial on running Django apps with Apache:

How to Run Django with mod_wsgi and Apache with a virtualenv Python environment on a Debian VPS

by Mateusz Papiernik
This article will take you through some key aspects of running mod_wsgi and Apache with a virtualenv Python environment on a Debian VPS.
Have another answer? Share your knowledge.