Redmine Installation / Ruby on Rails and FCGI

Added by Klaus Friese about 1 month ago

Hi,

I made a new installation of redmine on a managed server, I don't have root access. Redmine installation seemed to work, I now have problem with the integration in the Apache with FCGI.

This is what I see in the documentation of my provider:
https://wiki.hetzner.de/index.php/Installation_g%C3%A4ngiger_Software_(Managed_Server)/en#Ruby_over_FCGI

ruby_handler.fcgi

#!/bin/dash
export GEM_HOME="$HOME/.gem/ruby/2.3.0/" 
export GEM_PATH="$GEM_HOME:/var/lib/ruby/gems/1.8" 
exec /usr/bin/ruby /usr/www/users/<FTP-USER>/<PROJECT-DIRECTORY>/index.rb

.htaccess

FcgidWrapper /usr/www/users/<FTP-USER>/ruby_handler.fcgi .rb
  SetHandler fcgid-script

Problem: I don't have a index.rb in redmine, the dispatcher in the redmine documentation is completely different. And at the moment I get an 404 error when I try the dispatcher and htaccess from the wiki (http://www.redmine.org/projects/redmine/wiki/Install_Redmine_34_on_RHEL74)

How can I get redmine working on my system?

Thanks for any tipps
Klaus