Project

General

Profile

dispatch.cgi not supported anymore?

Added by Mom Cleomora over 13 years ago

New version of Redmine doesn't seem to support dispatch.cgi anymore.

No error with 0.8.4
but below error is encountered with 1.0.3

-----
[~/rails_apps/redmine]# public/dispatch.cgi
/home/xxxx/ruby/gems/gems/actionpack-2.3.5/lib/action_controller/cgi_process.rb:22:in `__send__': undefined method `env_table' for nil:NilClass (NoMethodError)
from /home/xxxx/ruby/gems/gems/actionpack-2.3.5/lib/action_controller/cgi_process.rb:22:in `dispatch_cgi'
from /home/xxxx/ruby/gems/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:101:in `dispatch_cgi'
from /home/xxxx/ruby/gems/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:27:in `dispatch'
from public/dispatch.cgi:10
------------------


Replies (3)

RE: dispatch.cgi not supported anymore? - Added by Deoren Moor over 13 years ago

Including the info listed here would help with the troubleshooting process.

RE: dispatch.cgi not supported anymore? - Added by Felix Schäfer over 13 years ago

CGI support in rails is dwindling at best, if not dead already. I'd suggest trying one of the many other options out there if you can.

RE: dispatch.cgi not supported anymore? - Added by Mom Cleomora over 13 years ago

Thanks you!!
I am running on a shared hosting where dispatch.cgi seems to be the only option for me.

Below is my environment.
Any info would be very appreciated.

Regards,


  1. RAILS_ENV=production script/about
    About your application's environment
    Ruby version 1.8.7 (i686-linux)
    RubyGems version 1.3.7
    Rack version 1.0
    Rails version 2.3.5
    Active Record version 2.3.5
    Active Resource version 2.3.5
    Action Mailer version 2.3.5
    Active Support version 2.3.5
    Application root /home/xxxx/rails_apps/redmine
    Environment production
    Database adapter mysql
    Database schema version 20101114115359
    (1-3/3)