Project

General

Profile

Actions

Feature #2271

closed

base href for passenger sub-URI deployment

Feature #2271: base href for passenger sub-URI deployment

Added by Keith Cascio almost 18 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Resolution:

Description

The usefulness of this feature arises in the following scenario:
You deploy redmine using mod_rails a.k.a. Phusion Passenger's sub-URI method, but the sub-URI is a moving target. This is certainly possible. You deploy Redmine somewhere and then decide you want to change the URL.

Problem: But that breaks relative links in your wiki pages and elsewhere!

Solution: add a configuration setting called "sub-URI" to Administration->Settings->General, right after the setting named "Host name". If set, write this value as <base href='.......' /> inside <head> of app/views/layouts/base.rhtml

That way, when the administrator moves Redmine around under the web document root, he only needs to change the sub-URI setting and hyperlinks will work. This feature would increase Redmine's flexibility, make it more "portable", and make it easier to deploy using Passenger.

Updated by Benjamin Schunn about 10 years ago Actions #1

I'm not sure but I think this is already possible. Someone more information about this feature?

Updated by Toshi MARUYAMA about 10 years ago Actions #2

  • Status changed from New to Closed

Redmine link syntax does not use any full url.
RedmineTextFormattingTextile

Actions

Also available in: PDF Atom