On 3/7/06, Ian Bicking <[EMAIL PROTECTED]> wrote: > At least in Paste there is no global middleware stack, instead you set > up a fairly specific stack that can potentially be more complex than > just a linear top-to-bottom. Well, *usually* is more complex.
You can have a non-linear stack? How is that possible? > > 2) Use two stupid middlewares that can be disabled in the > > configuration. Activate one for one host, and the other for the other > > host. This is similar to Apache's "LoadModule" and "ModAuth Off". > > The middleware is running but will pass the request/response unchanged > > if disabled. > > ... here you could do a couple different things. "Auth" is a bad term, > because I don't know exactly what you are thinking of, authorization or > authentication. Sorry, I was just making an analogy. In Apache you load a module globally, then enable/disable it for a particular URL subset. The module I was thinking of is mod_auth, and the directive "AuthAuthoritative Off" (not "ModAuth Off"). Although AuthAuthoritative doesn't fully disable it like I was thinking, just partially. But you get the idea. -- Mike Orr <[EMAIL PROTECTED]> ([EMAIL PROTECTED] address is semi-reliable) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

