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.
/tmp?[Errno 13] Permission denied: '/root/.python-eggs``/tmp?. Before, I could resolve this by havingWSGIPythonEggs /tmpin my httpd.conf file. Now there are some problems from failing to map segment from shared object