So I did: 1.I went to DreamHost Control Panel (Domains / Manage Domains) and enabled fast_CGI.(Now FastCGI Support box is checked there) 2.I copied fcgi.py and hello.fcgi file to my Web Directory(egsmtrade.com) 3. I added to fcgi.py and hello.fcgi the first line #!/usr/bin/python 4. I set 755 permission on both files
but yet it does NOT work. The error log says: FastCGI: incomplete headers (0 bytes) received from server "/home/bmabma/egsmtrade.com/hello.fcgi" The hello.fcgi looks like this ############### #!/usr/bin/python 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() ############## When I try to run hello.fcgi from command prompt (python hello.fcgi) I get WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! WSGIServer: missing FastCGI param SERVER_PORT required by WSGI! WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI! Status: 200 OK Content-Type: text/plain Hello, world! So, it seems, from command line, working.But not from browser Can you please help? Thank you Regards, Lad.