You are missing WSGIProcessGroup directive. You can validate using: http://code.google.com/p/modwsgi/wiki/CheckingYourInstallation#Embedded_Or_Daemon_Mode
Review setup instructions for daemon mode in: http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#Delegation_To_Daemon_Process Graham On 19 April 2012 06:57, Dan <[email protected]> wrote: > Hello all, > > I'm trying to deploy a django project using the recommended daemon > mode. I read that rather than using WSGIPythonPath, one should pass > the path as an argument to WSGIDaemonProcess as "python-path". I have > tried this, but get an error with importing. If I go ahead and > include the WSGIPythonPath directive, the import works fine. > > Does this mean my mod_wsgi is ignoring the daemon process directive > altogether? Here is a sample of my file: > > LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so > WSGIDaemonProcess python-path=/home/ubuntu/site/site_proj > WSGIScriptAlias / /home/ubuntu/site/site_proj/djangoapp/wsgi.py > WSGIPythonPath /home/ubuntu/site/site_proj > > Is there a way I can check whether daemon mode is working properly? > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
