Or use daemon mode of mod_wsgi 2.0 instead and enable process reload
mechanism.

This way all you need to do is touch the WSGI script file for the
Django application and the daemon process for just Django will be
restarted automatically without the need to restart the whole of
Apache.

Daemon mode is however only available on UNIX systems and when using
Apache 2.X.

Graham

On Dec 23, 11:58 pm, gordyt <[EMAIL PROTECTED]> wrote:
> xim you can add
>
> MaxRequestsPerChild 1
>
> to your apache config file.  This forces Apache to reload everything
> for each request.
>
> Of course be sure and remove that directive in any live
> configuration!
>
> --gordon
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to