Run Redmine in a sub-dir with thin
In order to host Redmine in a sub directory (e.g.: http://example.org/redmine), 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.
Written by Bertrand Marron
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#