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 get an instance of redmine up and running. I have been successful so far, however I am now hitting a road block with the apache / unicorn configuration.

The following conf is included with my httpd.conf for apache.

ProxyPass /redmine balancer://redmine
ProxyPassReverse /redmine balancer://redmine

<Proxy balancer://redmine>
     BalancerMember http://127.0.0.1:4000
     BalancerMember http://127.0.0.1:4001
     BalancerMember http://127.0.0.1:4002
     BalancerMember http://127.0.0.1:4003
     Order deny,allow
     Allow from all
    </Proxy>

The issue is that The pages generate do not have any formatting or assets, and all the links do not include host/redmine prefix

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You need to tell Redmine that you're serving on a path that isn't the domain root. As per the fine wiki, you need to add the following line at the bottom of your config/environment.rb:

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

Then restart.

share|improve this answer
    
I forgot about that lol, Thanks so much that solved my problem =) –  Rick Barrette Jul 9 '12 at 15:59

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.