# Redmine error - No route matches \[GET\] "/redmine"

**URL:** <https://www.ruby-forum.com/t/redmine-error-no-route-matches-get-redmine/259171>\
**Category:** Deployment\
**Created:** [April 6, 2020, 8:02am UTC](https://www.ruby-forum.com/t/redmine-error-no-route-matches-get-redmine/259171 "2020-04-06T08:02:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KlausFriese](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/71e660/32.png) [@KlausFriese](https://www.ruby-forum.com/u/KlausFriese)\
**Post date:** [April 6, 2020, 8:02am UTC](https://www.ruby-forum.com/t/redmine-error-no-route-matches-get-redmine/259171/1 "2020-04-06T08:02:04Z")

</div>

Hi,

After solving my FCGI problems on my managed server I’m getting another error now from my redmine installation:

> No route matches [GET] “/redmine”  
> Rails.root: /usr/www/users/admin/redmine-4.0.4
> 
> Application Trace | Framework Trace | Full Trace  
> Routes  
> Routes match in priority from top to bottom

and a lot of routes.

redmine works from the internal server (rails s) so it seems to be a problem with apache or rails.

This is my FCGI configuration:

**.htaccess** is:

> FcgidWrapper /usr/www/users/admin/redmine/ruby\_handler.fcgi .rb  
> RewriteEngine On  
> RewriteRule ^$ index.html [QSA]  
> RewriteRule ^([^.]+)$ $1.html [QSA]  
> RewriteCond %{REQUEST\_FILENAME} !-f  
> RewriteRule ^(.\*)$ ruby\_handler.fcgi [QSA,L]

**ruby\_handler.fcgi** is:

> #!/bin/dash  
> #export GEM\_HOME=“$HOME/.gem/ruby/2.3.0/”  
> #export GEM\_PATH=“$GEM\_HOME:/usr/lib/ruby/gems/2.3.0”
> 
> export HOME=“/usr/home/admin”  
> export GEM\_HOME=“$HOME/.gem/ruby/”  
> export GEM\_PATH=“/usr/home/admin/.gem/ruby/2.3.0/”
> 
> exec /usr/bin/ruby /usr/www/users/admin/redmine/startup.rb

**startup.rb** is:

> require\_relative ‘config/environment’
> 
> class Rack::PathInfoRewriter  
> def initialize(app)  
> @app = app  
> end
> 
> def call(env)  
> env.delete(‘SCRIPT\_NAME’)  
> parts = env[‘REQUEST\_URI’].split(‘?’)  
> env[‘PATH\_INFO’] = parts[0]  
> env[‘QUERY\_STRING’] = parts[1].to\_s  
> env[‘HOME’] = “/usr/home/admin/”  
> @app.call(env)  
> end  
> end
> 
> Rack::Handler::FastCGI.run Rack::PathInfoRewriter.new(RedmineApp::Application)

Any tipps how to fix this?
