Defect #11059

Redmine 2.0.1 does not run with a sub-URI

Added by Jan T. about 10 years ago. Updated about 10 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:Duplicate Affected version:2.0.1


As mentioned in this forum post Redmine does not run with a "sub-URI", e.g.

We followed the instructions at "HowTo Install Redmine in a sub-URI" that worked with at last Redmine 1.4.


ActionController::RoutingError (No route matches [GET] "/redmine"):
  actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app'
  railties (3.2.3) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.1) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.1) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in `call'
  rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
  rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
  rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
  rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
  rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
  railties (3.2.3) lib/rails/engine.rb:479:in `call'
  railties (3.2.3) lib/rails/application.rb:220:in `call'
  railties (3.2.3) lib/rails/railtie/configurable.rb:30:in `send'
  railties (3.2.3) lib/rails/railtie/configurable.rb:30:in `method_missing'
  public/dispatch.fcgi:16:in `call'
  rack (1.4.1) lib/rack/handler/fastcgi.rb:66:in `serve'
  rack (1.4.1) lib/rack/handler/fastcgi.rb:28:in `run'
  rack (1.4.1) lib/rack/handler/fastcgi.rb:27:in `each'
  rack (1.4.1) lib/rack/handler/fastcgi.rb:27:in `run'

The only workaround was to change the routes.rb as mentioned in the above forum post.

Redmine 2.0.1
Ruby 1.8.7
Rails 3.2.3
MySQL Backend
Enviroment production

Related issues

Duplicates Redmine - Defect #11058: Run Redmine in a sub directory results in "No route matches" New


#1 Updated by Jan T. about 10 years ago

sorry - duplicate to #11058

#2 Updated by Etienne Massip about 10 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Also available in: Atom PDF