Project

General

Profile

Redmine in a sub-URI on Windows with Apache: sub-uri prefix missing on all redmine links

Added by Ken K almost 12 years ago

Problem: All the links in redmine are missing the sub-uri prefix "/redmine"

Related problem? due to a 'dispatcher' dependency issue which isnt' resolved by installed 'dispatcher'.... I can't call :
mongrel_rails start
instead (to see things actually working) I must call:
ruby script/rails server mongrel

system:
[WinXPSP3 + Redmine 2.2.3 + Apache 2.2.23 + Ruby 1.9.3 ]

apache conf:
DocumentRoot "f:/apache2/htdocs"
ProxyPass /redmine balancer://redmine_cluster
ProxyPassReverse /redmine balancer://redminecluster

my redmine install
f:\redmine

my redmine/config/enviro has:
Redmine::Utils::relative_url_root = "/redmine"

I can now log in/investigate my redmine install if i keep manually prefix the urls with /redmine but that's no good.
eg this works and I see the main page: http://localhost/redmine

Can anyone help? I'm willing to hardcode the prefix into someplace if I only knew where.