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. Change openproject URL

Change openproject URL

Added by Florian Seibold almost 11 years ago

Hi,

I have installed openproject on Ubuntu 12.04 by reference to https://www.openproject.org/projects/openproject/wiki/Installation_Ubuntu.

Now I want to change the openproject-URL from “http://localhost:3000” to “https://localhost/openproject”.
If I change the Protocoll to “HTTPS” and the Hostname to “localhost/openproject” nothing happens.

What can I do?

Thanks.


Replies (3)

RE: Change openproject URL - Added by Christian Ratz almost 11 years ago

Hi Florain,

it looks like you wanna run OpenProject in production environment for this we recommend a webserver-setup with Apache or Nginx together with phusion passenger. With such a setup you can configure apache easy to run OpenProject in a subfolder (e.g. /openproject).

Passenger users guide Apache

Preparing OpenProject to run in a subfolder setup:

1. set rails_relative_url_root in ‘config/configuration.yml’ (see ‘config/configuration.yml.example’ for an example)

rails_relative_url_root: "/openproject"

2. Precompile assets (important because of the new assets paths, including subfolder)

bundle exec rake assets:precompile

3. Restart the webserver (e.g. apache)

Best
Ratzi

RE: Change openproject URL - Added by Nathan Petralia over 8 years ago

Is there a way to change the URL to subfolder after installing openproject also? I am running on debian jessie.

RE: Change openproject URL - 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 and now is working perfectly at URL http://servername/openproject

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