TurnKey Linux Virtual Appliance Library

Redmine how to change url to http://hostname/redmine

Hi,

I m planning to use Redmine(1.3.5) under Reverse Proxy server (nginx).

For that I have to change to the url of Redmine applicance from http://hostname/ (current redmine url) to http://hostname/redmine

 

using ref: http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_...

I tried putting

Redmine::Utils::relative_url_root = "/redmine"

to /var/www/railsapp/config/environment.rb

Pages do work but all images / js / css are broken.

Jeremy's picture

I know nothing about Rebmine or the TKL Rebmine appliance

But a quick glance at the TKL Remine appliance manifest shows that Apache is installed on this appliance by default, so I would suspect that perhaps you need to adjust the default virtualhost as well...?

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)