First time here? Check out the FAQ!

Revision history  [back]

I think that simply renaming django.wsgi (or copying) to passenger_wsgi.py should do the trick.

Looking at the manuals for passenger and wsgi - I do not see anything passenger-specific in those files.

edit: there is no askbot/forum in askbot. If your settings.py is in mysite.com, then instead of your sys.path.append() have

sys.path.append('/home/mysite')
sys.path.append('/home/mysite/mysite.com')

Askbot actually has it's own slightly different version of django.wsgi in askbot/setup_templates that should just work regardless of your specific paths (well in your case you need a custom line to replace the python interpreter).

I think that simply renaming django.wsgi (or copying) to passenger_wsgi.py should do the trick.

Looking at the manuals for passenger and wsgi - I do not see anything passenger-specific in those files.

edit: there is no askbot/forum in askbot. If your settings.py is in mysite.com, then instead of your sys.path.append() have

sys.path.append('/home/mysite') sys.path.append('/home/mysite/mysite.com')

sys.path.append('/home/mysite/mysite.com')

Askbot actually has it's own slightly different version of django.wsgi in askbot/setup_templates that should just work regardless of your specific paths (well in your case you need a custom line to replace the python interpreter).

I think that simply renaming django.wsgi (or copying) to passenger_wsgi.py should do the trick.

Looking at the manuals for passenger and wsgi - I do not see anything passenger-specific in those files.

edit: there is no askbot/forum in askbot. If your settings.py is in mysite.com, then instead of your sys.path.append() have

sys.path.append('/home/mysite') sys.path.append('/home/mysite/mysite.com')

Askbot has it's own slightly different version of django.wsgi in askbot/setup_templates that should just work (well in your case you need a custom line to replace the python interpreter).