Last Updated: February 25, 2016
· tusbar

Run Redmine in a sub-dir with thin

In order to host Redmine in a sub directory (e.g.:, follow the following steps:

Add this at the very end of Redmine’s config/environment.rb:

Redmine:Utils::relative_url_root = "/redmine"

Then edit your thin configuration and add:

prefix: /redmine

Restart thin, and you’re all set.