First time here? Check out the FAQ!

Victor's profile - activity

2017-10-08 11:55:58 -0500 received badge Notable Question (source)
2013-12-05 05:18:08 -0500 received badge Popular Question (source)
2013-11-19 10:28:04 -0500 received badge Taxonomist
2012-07-23 14:01:48 -0500 received badge Famous Question (source)
2011-09-11 17:56:48 -0500 commented answer Deploying askbot to passenger

Gave it another try. Did no "startforum", just used the current manual. Still, result is the same - site just plain doesn't respond. Can it be a problem with no 500 error logging? (http://wiki.dreamhost.com/PassengerWSGI#500ErrorswithPassengerWSGIWorkaround) What can I do to diagnose this?

2011-09-11 16:51:44 -0500 commented answer askbot-setup SyntaxError: invalid syntax

I'm installing on shared hosting on python 2.5 and get the same error. Is 2.6 required? Or is it a compatibility bug?

2011-06-24 17:23:25 -0500 commented answer Deploying askbot to passenger
So my main concern is - what's the problem with my configuration?
2011-06-24 17:04:58 -0500 received badge Editor (source)
2011-06-24 16:56:07 -0500 commented answer Deploying askbot to passenger
I copied `passenger_wsgi.py` from OSQA (replacting respective parts) and my test site just stopped responding. I see that it's mostly generated from `django.wsgi`. I think I'll add more details about my specific case.
2011-06-24 16:36:44 -0500 received badge Student (source)
2011-06-24 16:21:02 -0500 asked a question Deploying askbot to passenger

Does anyone have a code snippet to install Askbot into Passenger? I'm on Dreamhost and can't really edit httpd.conf, like manual suggests.

OSQA has a passenger_wsgi.py, for instance - I'd like to have one like that. And I don't even know Python, not saying Django.

edit: maybe it's just my configuration broken. I have:

  • Dreamhost account with web directory set to ~/mysite.com/public
  • local Python 2.5 in ~local
  • askbot directory set to ~/mysite.com/askbot and forum directory to ~/mysite.com/askbot/forum
  • the following passenger_wsgi.py in ~/mysite.com/ directory:

.

import sys,os
INTERP = "/home/mysite/local/bin/python"
if sys.executable != INTERP: os.execl(INTERP, INTERP, *sys.argv)
sys.path.append("/home/mysite/mysite.com/")
sys.path.append("/home/mysite/mysite.com/askbot/forum")
os.environ['DJANGO_SETTINGS_MODULE'] = 'askbot.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

The site just dies. In httpd's error.log I get things like:

[Fri Jun 24 14:24:53 2011] [error] [client xx.xx.xx.xx] Premature end of script headers: