Re: [Web-SIG] WSGI deployment use case

2005-07-26 Thread Chris McDonough
On Tue, 2005-07-26 at 01:18 -0500, Ian Bicking wrote: > Well, the stack is really just an example, meant to be more realistic > than "sample1" and "sample2". I actually think it's a very reasonable > example, but that's not really the point. Presuming this stack, how > would you configure it?

Re: [Web-SIG] WSGI deployment use case

2005-07-25 Thread Ian Bicking
Well, the stack is really just an example, meant to be more realistic than "sample1" and "sample2". I actually think it's a very reasonable example, but that's not really the point. Presuming this stack, how would you configure it? Chris McDonough wrote: > Just for a frame of reference, I'll

Re: [Web-SIG] WSGI deployment use case

2005-07-25 Thread Chris McDonough
Just for a frame of reference, I'll say how I might do these things. These all assume I'd use Apache and mod_python, for better or worse: > I'm not clear exactly what you are proposing. Let's use a more > realistic example. Components: > > * Exception catcher. Takes "email_errors", which is a

Re: [Web-SIG] WSGI deployment use case

2005-07-25 Thread Chris McDonough
On Mon, 2005-07-25 at 22:01 -0500, Ian Bicking wrote: > > > > ServerAdmin [EMAIL PROTECTED] > > ServerName plope.com > > ServerAlias plope.com > > ScriptAlias /viewcvs "/home/chrism/viewcvs.wsgi" > > ScriptAlias /blog "/home/chrism/blog.wsgi" > > RewriteEngine On > > RewriteRule ^/[^/]viewc

Re: [Web-SIG] WSGI deployment use case

2005-07-25 Thread Ian Bicking
Chris McDonough wrote: > How much of this could be solved by using a web server's > directory/alias-mapping facility? > > For instance, if you needed a single Apache webserver to support > multiple pipelines based on URL mapping, wouldn't it be possible in many > cases to compose that out of thing

Re: [Web-SIG] WSGI deployment use case

2005-07-25 Thread Ian Bicking
Phillip J. Eby wrote: > At 08:29 PM 7/25/2005 -0500, Ian Bicking wrote: > >> Right now Paste hands around a fairly flat dictionary. This >> dictionary is passed around in full (as part of the WSGI environment) >> to every piece of middleware, and actually to everything (via an >> import and th

Re: [Web-SIG] WSGI deployment use case

2005-07-25 Thread Chris McDonough
On Mon, 2005-07-25 at 20:29 -0500, Ian Bicking wrote: > > We probably need something like a "site map" configuration, that can > > handle tree structure, and can specify pipelines on a per location > > basis, including the ability to specify pipeline components to be > > applied above everything

Re: [Web-SIG] WSGI deployment use case

2005-07-25 Thread Phillip J. Eby
At 08:29 PM 7/25/2005 -0500, Ian Bicking wrote: >Right now Paste hands around a fairly flat dictionary. This dictionary is >passed around in full (as part of the WSGI environment) to every piece of >middleware, and actually to everything (via an import and threadlocal >storage). It gets used a

Re: [Web-SIG] WSGI deployment use case

2005-07-25 Thread Ian Bicking
Phillip J. Eby wrote: > At 06:40 PM 7/25/2005 -0500, Ian Bicking wrote: > >> But configuration and composition of multiple independent applications >> into a single process isn't. I don't think we can solve these >> separately, because the Hard Problem is how to handle configuration >> alongside

Re: [Web-SIG] WSGI deployment use case

2005-07-25 Thread Phillip J. Eby
At 06:40 PM 7/25/2005 -0500, Ian Bicking wrote: >But configuration and composition of multiple independent applications >into a single process isn't. I don't think we can solve these >separately, because the Hard Problem is how to handle configuration >alongside composition. How can I apply confi

Re: [Web-SIG] WSGI deployment use case

2005-07-25 Thread Ian Bicking
I thought it would muck up the list of issues too much if I added too much commentary. But then it's not that useful without it... Ian Bicking wrote: > Here's some types of applications: > > * Things I (or someone in my company) codes. I'm planning on making everything an egg. I'm even thinki