Project

General

Profile

Actions

Defect #31085

closed

Hosting redmine at a suburl doesn't work anymore in 4.0

Added by Bernhard Loos over 5 years ago. Updated over 3 years ago.

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

0%

Estimated time:
Resolution:
Affected version:

Description

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 but all of them had various problems (actually, none of them were really working for 3.4 but ohh well).


Related issues

Has duplicate Redmine - Defect #32318: Redmine 4.0 can not be installed in a sub-URI any moreClosed

Actions
Actions

Also available in: Atom PDF