Question

Permission denied - AH00035: access to / denied

Posted August 19, 2014 42.2k 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?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.
Submit an Answer