Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

My best guess is that you have either binary incompatibility between python and mod_wsgi or errors in the configuration.

For example python paths may be different in your development and production environments - this can be tested by inserting the following at the top of your file:

import sys
sys.stderr.write('\n'.join(sorted(sys.path)) + '\n')

Then compare the outputs in your error log (in the production case) or the console (for the runserver).

It may be useful to set the log levels to "debug" in apache and askbot. Have a look at the relevant documentation about WSGIDaemonProcess and WSGIProcessGroup mod_wsgi directives.