I\'m using Apache 2.2.15 on CentOS 6.5. I\'m trying to set up a Django app using mod_wsgi.
I\'m using a virtual environment, and mod_wsgi was configured with --with-py
The issue was caused by SELinux. What I did was this:
httpd_enable_homedirs SELinux boolean to on using setsebool -P httpd_enable_homedirs on.The SELinux guide on the CentOS wiki was very helpful. For example, to debug you can run setenforce Permissive so SELinux won't enforce its rules, but still write to the log. Just remember to setenforce Enforcing again afterwards!