Project

General

Profile

Defect #31085

Updated by Toshi MARUYAMA over 5 years ago

I'm trying to configure redmine for a suburl like http://server/redmine. 
 In Redmine 3.4, I got it working by adding 'RedmineApp::Application.routes.default_scope = ENV.fetch("RAILS_RELATIVE_URL_ROOT", "/")' to config/additional_environment.rb and setting RAILS_RELATIVE_URL_ROOT, but in Redmine 4.0 this produces an exception. 
 I tried various other things from [[HowTo_Install_Redmine_in_a_sub-URI]] http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI but all of them had various problems (actually, none of them were really working for 3.4 but ohh well).

Back