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
server.
However when I install my plugin into an Apache 2.2 mod_fcgid and fast
cgi
environment, it doesn’t work. I’m receiving a really strange error, and
I’m
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.
- export RAILS_ENV=production
- script/generate plugin_migration
- 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.
When
I check “error_log”, I have the following error.
[error] [client 10.0.200.22] malformed header from script. Bad
header=list:
dispatch.fcgi
I’m not sure why I’m getting bad headers, its just a different route.
The
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?
thanks,
Todd