login community faq

Hi. I added a redmine app at the /track path of the default domain.

redmine is now accessible, but broken all links and resource. it's using absolute path and isn't work well.

http://heatbr.webfactional.com/track

I put a image

alt text

asked Sep 04 '12 at 08:35

Onezino%20Gabriel%20Moreira's gravatar image

Onezino Gabriel Moreira
11

edited Sep 06 '12 at 07:06


This isn't possible on our system, because:

  • Our front-end Nginx server receives requests for yourdomain.com/track and sends them to your app, but...
  • Your back-end Nginx serves your app from its root, which is why the generated URLs point to the root.

I'm not aware of any configuration you can change that will tell Redmine to include a path prefix on its generated URLs, so my recommendation is that you create a subdomain like track.yourdomain.com and use that to serve your Redmine app.

answered Sep 04 '12 at 15:24

seanf's gravatar image

seanf ♦♦
56291220

Well, I found the answer.

just need add the follow line at the end of your ~/webapps/appname/redmine/conf/envoriment.rb.

1
ActionController::Base.relative_url_root = "/path"

then proceed with restart.

1
sh ~/webapp/appname/bin/restart

how to install redmine in a sub URI

answered Sep 06 '12 at 06:38

Onezino%20Gabriel%20Moreira's gravatar image

Onezino Gabriel Moreira
11

edited Sep 06 '12 at 07:04

It solve the problema with css and javascript but don't solve the link problem. =\

http://heatbr.webfactional.com/track/login

has anyone a idea what I can do ?

(Sep 06 '12 at 07:06) Onezino Gabriel Moreira Onezino%20Gabriel%20Moreira's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×35

Asked: Sep 04 '12 at 08:35

Seen: 504 times

Last updated: Sep 06 '12 at 07:06

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited