With a modified version of Robin Dunn's fcgi.py module that adapts
fcgi to wsgi, I've set up Django to run under mod_fcgid. One good
thing about mod_fcgid is that it does all process management for you,
which makes this setup quite straightforward.

Also, since Robin's module works both in a cgi and fcgi context,
switching a django site between cgi and fastcgi is a one-liner in the
apache config:

    <Directory /home/*/public_html/django/>
        Options ExecCGI
        # AddHandler fcgid-script .cgi
        AddHandler cgi-script .cgi
    </Directory>

The above apache configuration example also works with suexec, so this
setup may be useful in a multi-user context.

I tried to post this to the django ticket system but got rejected by
the spam filter twice (prompting me to leave a rude message, I
apologize). If there is any interest in this, could someone advise
where to post the code? Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to