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. Changing the openproject URL to subfolder

Changing the openproject URL to subfolder

Added by Nathan Petralia over 8 years ago

I have installed openproject using debian jessie and now I can access openproject using http://localhost/
I want to change the URL to http://192.168.1.100/openproject instead. I tried searching online but it seems hard to find a solution. Any help is appreciated!


Replies (3)

RE: Changing the openproject URL to subfolder - Added by Francesc Estanyol Casals over 8 years ago

I’ve done it once installed by adding:

rails_relative_url_root: “/openproject”*

in configuration.yml file at /opt/openproject/config folder

RE: Changing the openproject URL to subfolder - Added by Oliver Jakobi over 8 years ago

Francesc Estanyol Casals already gave the correct answer.

If you installed OpenProject using the package install, you can also issue

as root:

openproject config:set SERVER_PATH_PREFIX=/openproject

then
as root:

openproject configure

This will set the envelope variable and rerun configuration of your openproject installation.

RE: Changing the openproject URL to subfolder - Added by Peter Folk over 1 year ago

This was a great help to me except it missed one detail: you need the relative url to be included in your Apache proxy statement, along the lines of:

ProxyPass /openproject/ http://127.0.0.1:6000/openproject/ retry=0
ProxyPassReverse /openproject/ http://127.0.0.1:6000/openproject/

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