Re: dynamic mod wsgi

2009-01-12 Thread Ben Eliott
Ok, thanks Graham, will do. On 11 Jan 2009, at 10:45, Graham Dumpleton wrote: > > > > On Jan 11, 7:59 pm, Ben Eliott wrote: >> Hi Graham, >> Just following up on this thread. I replied with some details, but >> maybe you missed those, or maybe i missed your reply. Or maybe this >> isn't worth i

Re: dynamic mod wsgi

2009-01-11 Thread Graham Dumpleton
On Jan 11, 7:59 pm, Ben Eliott wrote: > Hi Graham, > Just following up on this thread. I replied with some details, but   > maybe you missed those, or maybe i missed your reply. Or maybe this   > isn't worth it and i should stop being lazy and just write out the   > VirtualHost files :) I miss

Re: dynamic mod wsgi

2009-01-11 Thread Ben Eliott
Hi Graham, Just following up on this thread. I replied with some details, but maybe you missed those, or maybe i missed your reply. Or maybe this isn't worth it and i should stop being lazy and just write out the VirtualHost files :) Ben On 23 Dec 2008, at 01:13, Graham Dumpleton wrote: >

Re: dynamic mod wsgi

2008-12-23 Thread Ben Eliott
I just saw your message below after sending the vhost. I don't think i'd mind whether it's separate processes or one really fat one. I think perhaps separate processes with a quite a short inactivity timeout might work quite well? I'd rather keep the overall footprint as small as feasible,

Re: dynamic mod wsgi

2008-12-23 Thread Ben Eliott
Strange, that thread is down for me. Maybe it has something to do with cacheing in a different locale... Anyhow, the idea is to create a new django instance and point to different settings.py files for different wildcard subdomains. here is current Vhost: ServerAlias *.stayunstuck.co.uk

Re: dynamic mod wsgi

2008-12-22 Thread Graham Dumpleton
Have some further questions about what you want to do. Do you want a separate daemon process for each distinct Django site, or are you happy with one really fat process which contains each Django site in a separate sub interpreter of that process? How much memory does each Django site instance t

Re: dynamic mod wsgi

2008-12-22 Thread Graham Dumpleton
On Dec 22, 9:44 pm, Ben Eliott wrote: > Hi Graham, > I've finally managed to get back to the wildcard subdomains & mod_wsgi   > today. Unfortunately the discussion thread you mentioned has   > disappeared and after a few hours i still seem to be doing a good job   > of getting nowhere. I can s

Re: dynamic mod wsgi

2008-12-22 Thread Ben Eliott
Hi Graham, I've finally managed to get back to the wildcard subdomains & mod_wsgi today. Unfortunately the discussion thread you mentioned has disappeared and after a few hours i still seem to be doing a good job of getting nowhere. Although you mentioned using mod_rewrite to get hold of th

Re: dynamic mod wsgi

2008-12-09 Thread Ben Eliott
Understood. Thanks. On 9 Dec 2008, at 10:18, Graham Dumpleton wrote: > > > > On Dec 9, 8:05 pm, Ben Eliott <[EMAIL PROTECTED]> wrote: >> Graham, >> Thank you for coming back personally to such a lowly wsgi question! I >> started reading your email and thinking the answer was 'no', then >> ended

Re: dynamic mod wsgi

2008-12-09 Thread Graham Dumpleton
On Dec 9, 8:05 pm, Ben Eliott <[EMAIL PROTECTED]> wrote: > Graham, > Thank you for coming back personally to such a lowly wsgi question! I   > started reading your email and thinking the answer was 'no', then   > ended up thinking 'definitely maybe'. I'll keep an eye out in case you   > post mor

Re: dynamic mod wsgi

2008-12-09 Thread Ben Eliott
Graham, Thank you for coming back personally to such a lowly wsgi question! I started reading your email and thinking the answer was 'no', then ended up thinking 'definitely maybe'. I'll keep an eye out in case you post more, otherwise i'll follow those links and your directions and hope

Re: dynamic mod wsgi

2008-12-09 Thread Graham Dumpleton
On Dec 9, 6:53 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, I'm converting to the excellent mod_wsgi and wondering if it's > possible to make a single httpd virtual host/wsgi file to manage > wildcard subdomains. > > Basically I have an app where i'm creating a new instance for each