Pergunta

What do I put in passenger_wsgi.py for a Turbogears2 site?

Since it's possible for Django to use mod_passenger, I'm trying to use mod_passenger with Turbogears2. So far, I've found a passenger_wsgi.py for Turbogears1, but I don't know where to start to make a passenger_wsgi.py for a Turbogears2 site.

Here's the Turbogears1 example: http://github.com/weyert/passenger-turbogears-example/blob/master/passenger_wsgi.py

Foi útil?

Solução

I think the right question would be: how to write a WSGI file for Turbogears 2. If you have a WSGI file that works on other WSGI-compliant servers like mod_wsgi or Green Unicorn then it should work on Phusion Passenger as well.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top