ruby on rails 3.2 - Redmine 2.3 relative url root not working with Apache mod_proxy -


i attempting upgrade redmine 1.4 (based on rails 2.3) redmine 2.3 (rails 3.2). forced use apache mod_proxy , proxy balancer, talk of passenger out. trying deploy redmine on sub-uri (https://mysite.com/redmine). current apache config follows:

proxypass /redmine balancer://redmine_cluster proxypassreverse /redmine balancer://redmine_cluster  <proxy balancer://redmine_cluster>   order allow,deny   allow   balancermember http://127.0.0.1:9000   balancermember http://127.0.0.1:9001   balancermember http://127.0.0.1:9002 </proxy> 

i used able use redmine::utils.relative_url_root="/redmine" handle url_for , link_to, no longer works.

i have tried following:

  1. editing config.ru

    map actioncontroller::base.config.relative_url_root || "/" run redmineapp::application end

  2. running rails with: rails_relative_url_root='/redmine' script/rails s -p 9000

  3. adding config.action_controller.relative_url_root = "/forge" application.rb

i cannot figure needs done. great. thank you.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -