Monday, July 12, 2010

Mass Hosting on mod_wsgi?

Hi folks --

I'm planning on mass hosting a SaaS project built on Django, using
Apache and mod_wsgi. There will be hundreds of domains running off a
single copy of the project code; each domain has a different Site ID
and settings file, and can have its own Virtual Host (I'm also willing
to serve them all off the same VirtualHost if that's simpler).

I need some help figuring out what the VirtualHost directives and WSGI
scripts should look like in order to a) serve all the sites cleanly
and without conflict, and b) ideally avoid duplication of code as much
as possible (in case, for instance, we have to change our default WSGI
script down the line.)

I've googled around a bit, but haven't really seen anything that seems
to cover our use case. Has anyone done this before? Can you offer
any pointers?

Thanks!
-Nan

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate