I want to deploy my django app using apache + mod_wsgi again. I seem to be getting this error 500 message Initially, I was told that I need the latest version of MySQLdb. After I had installed, I got this error message.
Error loading MySQLdb module: /tmp/MySQL_python-1.2.3-py2.4-linux-i686.egg-tmp/_mysql.so: failed to map segment from shared object: Permission denied
I am not sure really what the problem is. I believe it might have something to do with this line written in my httpd.conf.
WSGIPythonEggs /tmp
But it is set that that so it can read write & execute.
SELinux is most likely enabled. This exact issue is documented in mod_wsgi documentation.
http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Secure_Variants_Of_UNIX