Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am currently trying to stand up an instance of redmine, however currently The generated links in my redmine instance are all broken. I am attempting to serve redmine from a sub-url i.e example.com/redmine

I have searched, but I have not found any information on a prefix option (similar to mongrel)

I currently have the assets and formatting working properly, from my previous question.

Redmine served via Apache / Unicorn

My current setup is apache / unicorn

Thanks in adavanced

EDIT

ruby --version
ruby 1.9.3p194

rails --version
Rails 3.2.6

unicorn --version
unicorn v4.3.1

httpd -version
Server version: Apache/2.2.22 (Unix)
Server built:   Jun  9 2012 01:42:02
share|improve this question

1 Answer 1

I fixed that by adding ActionController::Base.relative_url_root = "/redmine" to additional_environment.rb as per http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.