[TurboGears] Re: Newbie question re: running TurboGears for the first time on DreamHost with FastCGI
Sean, I would greatly appreciate your help in troubleshooting my setup. I'm running into the same error that Sarah was. I have followed the instructions closely. Here's what I'm working with: Dreamhost SVN 537 Dreamhost's MySQL database I have downloaded and installed the mysql python libraries that were in the directions on the trac. I have edited the tg_fastcgi.fcgi script as we discussed in the thread http://groups.google.com/group/turbogears/browse_thread/thread/b069b5e867d572aa/3f8470f09f1d930a?q=dreamhostrnum=1#3f8470f09f1d930a when I run ./tg_fastcgi.fcgi, the proper output goes to stdout.log, but when I try to access the site or run python tg_fastcgi.fcgi, I get the 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! errors. any ideas? Thanks, Mike
[TurboGears] Re: Newbie question re: running TurboGears for the first time on DreamHost with FastCGI
Robin, I'm glad everything worked! Sarah and I exchanged emails and we found that she needed to install the mysql python libraries (I've added this info to the instructions). Everything else was working fine. Thanks, Sean Robin Munn wrote: On 1/3/06, Sean De La Torre [EMAIL PROTECTED] wrote: Sarah, can you send me your tg_fastcgi script ([EMAIL PROTECTED])? I wrote the instructions and have an app running on Dreamhost, so I think I'll be able to help out. Sean BTW, thanks a lot for the TurboGears-on-Dreamhost instructions, Sean! I followed them and had TurboGears running perfectly on my first try -- something I failed to do with Django. It took me a couple of hours of experimentation to get Django running on Dreamhost when I tried several months ago. (It's been long enough by now that I forget if I'd done something wrong back then, or if the instructions had been broken). But I just wanted to let you know that your instructions worked perfectly for me. Sarah, I'd also be willing to take a look at your configuration. I don't understand FCGI very well yet, so I can't guarantee I'll spot any problems, but I can look. Send me your .htaccess file as well, it's also possible something may be wrong in there. -- Robin Munn [EMAIL PROTECTED] GPG key 0xD6497014
[TurboGears] Re: Newbie question re: running TurboGears for the first time on DreamHost with FastCGI
On 1/3/06, Sean De La Torre [EMAIL PROTECTED] wrote: Sarah, can you send me your tg_fastcgi script ([EMAIL PROTECTED])? I wrote the instructions and have an app running on Dreamhost, so I think I'll be able to help out. Sean BTW, thanks a lot for the TurboGears-on-Dreamhost instructions, Sean! I followed them and had TurboGears running perfectly on my first try -- something I failed to do with Django. It took me a couple of hours of experimentation to get Django running on Dreamhost when I tried several months ago. (It's been long enough by now that I forget if I'd done something wrong back then, or if the instructions had been broken). But I just wanted to let you know that your instructions worked perfectly for me. Sarah, I'd also be willing to take a look at your configuration. I don't understand FCGI very well yet, so I can't guarantee I'll spot any problems, but I can look. Send me your .htaccess file as well, it's also possible something may be wrong in there. -- Robin Munn [EMAIL PROTECTED] GPG key 0xD6497014