[Answer]-Trouble saving image on a django apache mod_wsgi configuration

1👍

I feel silly writing the answer myself

I had to change the first line in the configuration to include –

WSGIDaemonProcess bangtestwsgi.max140.com user=bangwsgi python-path=/home/bangwsgi/alpha:/home/bangwsgi/virtualenv/lib/python2.7/site-packages

Apache was running it as root and not as the user who owned the project directories. Duh.

Leave a comment