Forum: Ruby on Rails Apache2+fcgid = "malformed header from script" when page sta

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
531eb73f8fbf05a197721d02b4e6aadb?d=identicon&s=25 Bogdan Ionescu (Guest)
on 2006-01-31 12:07
(Received via mailing list)
I was getting some "application failed to start properly" pages, but
production.log was not showing anything.
Looking closer I've noticed that server_error.log (the apache log) was
giving lines like:
"malformed header from script. Bad header=<html>: dispatch.fcgi,
referer:"
I was able to determine the cause, and that was that some pages were
starting with a space or a carriage return.
On the other hand, the same pages were throwing no errors when using
Lighttpd+fcgi.
Is this something I could fix in the apache configuration files, so that
I
don't check every partial render for spaces?
This project was initially on Apache1.3+fcgi and there were no problems.

Bogdan
This topic is locked and can not be replied to.