The domain should be totally irrelevant unless you aren't showing all
the relevant Apache configuration.

The only way your WSGI application would have been run in the daemon
process would be to have set WSGIProcessGroup or add appropriate
process-group option to WSGIScriptAlias. One when in daemon mode would
python-path option applied.

Anyway, so long as that validation check I pointed you to in
documentation now works, you should be fine. You might look at some of
the other validation checks you can run which are described in that
documentation to understand how your system is setup.

Graham

On 19 April 2012 22:41, Dan <[email protected]> wrote:
> I went ahead and assigned a subdomain to the IP address and everything
> works great! :-)
>
> On Apr 18, 5:39 pm, Graham Dumpleton <[email protected]>
> wrote:
>> You are missing WSGIProcessGroup directive. You can validate using:
>>
>> http://code.google.com/p/modwsgi/wiki/CheckingYourInstallation#Embedd...
>>
>> Review setup instructions for daemon mode in:
>>
>> http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#Delegat...
>>
>> 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 
>> > athttp://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.
>

-- 
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.

Reply via email to