Project

General

Profile

Actions

Defect #2894

closed

Update to svn HEAD breaks existing mod_ruby (passenger) deployments.

Added by Leszek Ciesielski about 15 years ago. Updated almost 13 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I am running redmine svn-head using Apache and Passenger. The working setup (described on http://www.modrails.com/documentation/Users%20guide.html#deploying_rails_to_sub_uri ) has been broken with recent svn update. And in quite ugly way - all Redmine was able to show to me was a 404 page, with only "ActionController::RoutingError (No route matches "/redmine/" with {:method=>:get}):" in log giving a clue to what has actualy gone wrong. To fix, it is required to add the following line at the end of your config/environment.rb :

ActionController::AbstractRequest.relative_url_root = "/redmine" (as described on http://www.redmine.org/wiki/redmine/HowTo_Install_Redmine_in_a_sub-URI ).

Shouldn't this be mentioned in http://www.redmine.org/wiki/1/RedmineUpgrade ? And besides, what did change that this additional configuration is necessary?


Files

production.log (104 KB) production.log Leszek Ciesielski, 2009-03-04 12:23
environment.rb (2.1 KB) environment.rb Leszek Ciesielski, 2009-03-10 12:01
environment.rb (2.23 KB) environment.rb Leszek Ciesielski, 2009-05-26 10:36
Actions

Also available in: Atom PDF