Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. deploying in a subdirectory

deploying in a subdirectory

Added by Michael Gliwinski almost 12 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)

RE: deploying in a subdirectory - Added by Martin Czuchra almost 12 years ago

That sounds like a bug. If you can still reproduce it, would you mind filing a bug report under issues

RE: deploying in a subdirectory - Added by Jens Ulferts over 11 years ago

The issue is filed as

and we have begun working on it.

  • (1 - 2/2)
Loading...