dispatch.cgi issue...

Usually when I get the premature end of header error, I’ve been able to load up script/console and it will crash with a more robust error message letting me know that I’ve forgotten some code in config/environment.rb. If you’re not getting an error with Webrick, I’m not sure. But I’d start looking around in config/environment.rb. It seems that any problems in that file never make it to a non-Apache log whereas bugs in other files are written to the appropriate RAILS_ENV mode log file. Does that help? :confused:

RSL

Heh. Man, I apologize for having misread your email. I thought you were talking about dispatch.fcgi [with an “f”]. [Stupid slow-acting coffee!] Glad you got things working though.

RSL

I'm experiencing the same problem with my server but since i'm still in the development stage, i prefer working with cgi mode which is more reactive to bugs. So i want to know if there is any configuration to write in the apache files to consider rails applications and .rb files ...