PythonistL wrote:
Hello James,
I assume it was not a private letter.
do you use their service at present?
I am hosted with DreamHost: http://lazutkin.com/
I followed the instructions at
http://wiki.dreamhost.com/index.php/Django
but that did not work for me
It worked for me. Did you followed them precisely?
So I tried this script from the troubleshooting part there
#########
#!/usr/bin/python2.3
from fcgi import WSGIServer
def test_app(environ, start_response):
start_response('200 OK', [('Content-Type', 'text/plain')])
yield 'Hello, world!\n'
WSGIServer(test_app).run()
#########
but it did not work either.
Works for me. It looks like you don't have FastCGI enabled.
1) Go there: http://wiki.dreamhost.com/index.php/Django
2) Section #1 (Prerequisites), instruction #1: "FastCGI must be enabled".
3) Go to DreamHost Control Panel (Domains / Manage Domains), click on
"edit" for your domain, and enable FastCGI.
Can you please let me know if that script works for you?
It does.
Thanks,
Eugene