문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top