Topic: dispatch.cgi and dispatch.fcgi causing application errors

Hi.  I have my hosting through site5 (i dont know if that matters or not) and after finishing setting up everything, I get a application error.  According to the error log, "premature end of script headers: /home/msuinfoc/public_html/dispatch.cgi".  The only thing I changed from the original file was #!/usr/bin/ruby

Also, If i change .htaccess to 'RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]', I get the error "[warn] FastCGI: (dynamic) server "/home/msuinfoc/public_html/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds" with my application displaying nothing.

the website is www.msu-info.com

Thank you

Re: dispatch.cgi and dispatch.fcgi causing application errors

Is RubyForApache installed and is the mod_fast_cgi component installed?

Re: dispatch.cgi and dispatch.fcgi causing application errors

it turns out the wrong version of rails was declared in the environment.rb file

thank you for responding

Last edited by ChrisKarl (2007-05-18 21:51:25)