Project

General

Profile

Actions

Defect #11059

closed

Redmine 2.0.1 does not run with a sub-URI

Added by Jan T. almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

As mentioned in this forum post http://www.redmine.org/boards/2/topics/30676 Redmine does not run with a "sub-URI", e.g. http://www.mysite.com/redmine/

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

production.log

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'
  public/dispatch.fcgi:20

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
FCGI Base


Related issues

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

Actions
Actions #1

Updated by Jan T. almost 12 years ago

sorry - duplicate to #11058

Actions #2

Updated by Etienne Massip almost 12 years ago

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

Also available in: Atom PDF