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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Bogdan I. (Guest)
on 2006-01-31 13: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,
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
Is this something I could fix in the apache configuration files, so that
don't check every partial render for spaces?
This project was initially on Apache1.3+fcgi and there were no problems.

This topic is locked and can not be replied to.