title: Django on Dreamhost with Passenger: no response to browsers, no error
body: <p>I'm trying to get some trivial Django to run on my dreamhost account. I did do my homework before choosing Dreamhost, but only recently decided to try Django.</p>
  
  <p>Anyhow, I have a trivial app that I want to run under something.mydomain.com. Passenger is enabled.</p>
  
  <p>When I visit a static page, it loads fine, out of ~/something.mydomain.com/public/.
  When I visit any other page (such as something.mydomain.com/admin), the url should be handled by my Django app.</p>
  
  <p>This is where I get stuck; the page <strong>doesn't load and it doesn't throw an error</strong>. It keeps <em>trying to load</em> forever (no timeout yet). I don't know much about the logs; I haven't found anything myself.</p>
  
  <p>My guess is the passenger_wsgi.py in ~/something.mydomain.com/ is faulty. I have tried different versions.</p>
  
  <p><strong>This passenger gives the… freeze? described above</strong></p>
  
  <pre><code>import sys, os, django
  sys.path.append("/home/me/something.mydomain.com/")
  os.environ['DJANGO_SETTINGS_MODULE'] = 'something.settings'
  import django.core.handlers.wsgi
  application = django.core.handlers.wsgi.WSGIHandler()
  </code></pre>
  
  <p><strong>This passenger happily "Hello, world!"s me</strong></p>
  
  <pre><code>import sys, os, django
  sys.path.append("/home/me/something.mydomain.com/")
  os.environ['DJANGO_SETTINGS_MODULE'] = 'something.settings'
  def application(environ, start_response):
      write = start_response('200 OK', [('Content-type', 'text/plain')])
      return ["Hello, world!"]
  </code></pre>
  
  <p>So I'm inclined to believe something about WSGIHandler() isn't properly accomodated.</p>
  
  <p>I tried this in a python shell:</p>
  
  <pre><code>&gt;&gt;&gt; import django
  </code></pre>
  
  <p>and it gave no errors.</p>
  
  <p>What now?</p>