Content
You are here:
deploying in a subdirectory
Added by Michael Gliwinski over 11 years ago
Hi all,
I have deployed (in production mode) OpenProject (beta from feature/rails3 branch this morning) in a subdirectory (i.e. http://HOST/openproject) and almost everything works OK, but I’m seeing an issue with generated API paths. For example, list of projects in the Projects drop-down doesn’t work as it’s trying to get http://HOST/api/v1/projects/level_list.json
I did specify RAILS_RELATIVE_URL_ROOT
when running rake assets:precompile
and also tried adding config.action_controller.relative_url_root
to config/application.rb but it didn’t make any difference.
Do you think this may be an issue in OpenProject or in Rails? Or maybe I’m just doing something wrong?
Thanks,
Michael
Replies (2)
That sounds like a bug. If you can still reproduce it, would you mind filing a bug report under issues
The issue is filed as
and we have begun working on it.