On Aug 5, 11:12 pm, Sean Kemplay <sean.kemp...@gmail.com> wrote:
> Hi all.
>
> I have resolved this by adding user=www-data group=www-data to the
> WSGIDaemonProcess:
>
> WSGIDaemonProcess sean75_ispy user=www-data group=www-data
That change shouldn't have made any difference as those are the
defaults for user/group anyway and so aren't required. You only need
to supply those options if you want to override what the Apache
defaults are.
Unfortunately a lot of blog posts show the use of those options with
same credentials as Apache. It is just a waste of time to do it.
Best to have just worked through:
http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode
and double check that where you were placing your configuration was in
fact actually resulting in daemon mode being used, as touching the
WSGI script file only works for daemon mode.
Graham
> Regards,
> Sean
>
> On Aug 5, 1:46 pm, Sean Kemplay <sean.kemp...@gmail.com> wrote:
>
>
>
> > Hi All,
>
> > I have the following in my virtual host config:
>
> > WSGIDaemonProcess sean75_ispy
> > WSGIProcessGroup sean75_ispy
>
> > and the following in my django.wsgi:
>
> > import os, sys
> > sys.path.append('/srv/home/sean75/django/')
> > os.environ['DJANGO_SETTINGS_MODULE'] = 'ispy.settings'
> > import django.core.handlers.wsgi
> > application = django.core.handlers.wsgi.WSGIHandler()
>
> > Everything is working as expected except reloading the daemon.
>
> > When I try touch /srv/home/sean75/django/ispy/apache/django.wsgi it
> > does not reload and any changes I have made d not show up.
>
> > When I run apache2ctl restart, the changes show up.
>
> > Has anyone else experienced this?
>
> > Regards,
> > Sean
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---