Hi there, I've been developing my pylons app locally for a while now and I'm looking to put it up on dreamhost now.
I've read through the docs here: http://wiki.pylonshq.com/display/pylonscookbook/Production+Deployment+Using+Apache%2C+FastCGI+and+mod_rewrite and the dreamhost bit here: http://blog.micampe.it/articles/2006/11/26/a-tale-of-pylons-python-and-fastcgi-on-dreamhost So I've got a dispatch.fcgi that looks like this: #!/home/my_username/bin/python from paste.deploy import loadapp from fcgi import WSGIServer app = loadapp('config:/home/my_username/okasta.com/swifthalf/ development/development.ini') server = WSGIServer(app) server.run() However, I'm not having much luck. When I browse to that page I simply get a blank page followed by a 500 internal server error. I've managed to get a test fcgi file working: #!/home/my_username/bin/python from paste.deploy import loadapp 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() Can anyone assist? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
