Graham Dumpleton schrieb:
> 
> 
> On Nov 16, 2:59 am, Matt Wilson <[EMAIL PROTECTED]> wrote:
>> I'm running a TG 1.0 app right now behind Apache using mod proxy.
>>
>> I want to use some of the fancy WSGI middleware apps I learned about
>> at PyWorks this week.  How do I add them to my site?  Are there config
>> files I need to edit?
>>
>> Basic explanations are requested.
> 
> If you run TG under mod_wsgi you may be able to, as in the WSGI script
> file where you have access to the WSGI application entry point. You
> can then wrap that with other WSGI middleware. See:
> 
>   http://code.google.com/p/modwsgi/wiki/IntegrationWithTurboGears
>   http://code.google.com/p/modwsgi/wiki/DebuggingTechniques
> 
> If running TG as standalone process, probably much harder as CherryPy
> server hides the WSGI entry point.

No, it's the exact same procedure. The only difference is that you use 
some othe wsgi server instead - I used wsgiref, others  should work as well.

The adnawntage is the pure-python-ness with less configuration. For a 
deployment situation, I'd of course recommend mod_wsgi.

Diez

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to