Forum: Rails Engines development help with deploying to apache 2.2 and mod_fcgid/fast cgi

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.
Todd Nine (Guest)
on 2008-03-06 07:39
(Received via mailing list)
Hello again.  I'm having a bit of a problem deploying my plugin to my
server.  It works great locally when I use script/server to run my
However when I install my plugin into an Apache 2.2 mod_fcgid and fast
environment, it doesn't work.  I'm receiving a really strange error, and
not sure if its an installation issue.  I've copied my plugin from
"vendor/plugins/project_rank" to the server and placed it in the same
directory then ran these commands.

   1. export RAILS_ENV=production
   2. script/generate plugin_migration
   3. rake db:migrate

Everything migrates great, but when I try to hit my plugin directly via
"test-projects/project_rank/list" or via my overridden route of
"test-projects/projects/list", I receive a 500 error from the server.
I check "error_log", I have the following error.

[error] [client] malformed header from script. Bad

I'm not sure why I'm getting bad headers, its just a different route.
only thing different from test is the platorm, and I didn't generate the
plugin on this server.  Did I miss a step when I installed it?

James Adam (Guest)
on 2008-03-06 09:11
(Received via mailing list)
This is probably nothing specific to your plugin - as I recall this
error can be cause by things like stray puts statements and things
like that. The main rails mailing list should have some relevant



On 6 Mar 2008, at 06:39, "Todd Nine" <>
Todd Nine (Guest)
on 2008-03-06 09:21
(Received via mailing list)
Thanks again James, you're a lifesaver!  I had some random "print"
left from when I was printing http post information trying to figure out
the sortable_element AJAX code works.  I removed the print statements
and it
works great.  I think I'm finally done with my noob questions :).

This topic is locked and can not be replied to.