WebFaction
Community site: login 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 04 Sep '12, 08:35

Onezino Gabr...
112
accept rate: 0%

edited 06 Sep '12, 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.

permanent link

answered 04 Sep '12, 15:24

seanf
12.2k42136
accept rate: 37%

Well, I found the answer.

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

Redmine::Utils::relative_url_root = "/path"
ActionController::Base.relative_url_root = "/path"

then proceed with restart.

sh ~/webapp/appname/bin/restart

how to install redmine in a sub URI

permanent link

answered 06 Sep '12, 06:38

Onezino Gabr...
112
accept rate: 0%

edited 06 Sep '12, 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 ?

(06 Sep '12, 07:06) Onezino Gabr...
Your answer
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

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×46

question asked: 04 Sep '12, 08:35

question was seen: 5,512 times

last updated: 06 Sep '12, 07:06

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM