Project

General

Profile

Using redmine in subfolder

Added by Rob Reh 7 months ago

How can I make redmine run in exmaple.com/redmine/ instead of example.com/ ?

I am trying to migrate an old redmine 3.4.4 installation running on ubuntu 18.04 to a new ubuntu 22.04 server and redmine 5.0.5.
The old redmine is configured such that it is reachable at 192.168.0.111/redmine/
There is an nginx reverse proxy which makes it avaliable under example.com/redmine/

For the new installation I followed this tutorial https://kifarunix.com/install-redmine-on-ubuntu/ for the most parts, but I chose PostgreSQL.
Then I imported DB dump of the old redmine, run db:migrate and it seems like everything works.
Except that on the new server, it runs on 192.168.0.222/ (without the /redmine/ directory).
This breaks all old links. How can I avoid that?

I tried this:
https://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_on_subdirectory_(sub-URI)_on_Apache
but it did not work.