I set up the proxy statements on the primary server, but all the followup requests for css, js, images whatever would be looking back in the main server's root again instead of on the redmine sever.
I had to add the following line to the end of /var/www/redmine/config/environment.rb
ActionController::Base.relative_url_root = "/redmine"
And that did the trick.... I have no idea how rails does whatever it does.
No comments:
Post a Comment