Project

General

Profile

redmine in root instead of subdomain

Added by Honza M almost 5 years ago

Hey, is there any way to push redmine to subdomain instead of root?

I would like to reach it from redmine.domain.com instead of domain.com/redmine.

Redmine 4.0.3
Debian 9.8
Apache 2.4.25
ruby 2.3.3p222
Rails 5.2.2.1

Apache2 config:

<VirtualHost *:80>

  ServerAdmin admin@domain.cz
  Servername redmine.domain.cz
  DocumentRoot /var/www/html/

  <Location /redmine>
      RailsEnv production
      RackBaseURI /redmine
      Options -MultiViews
  </Location>

</VirtualHost>

I tried almost everything I know about Apache2 configurations, but it's look like it doesn't apache thing, but rails thing

From stackoverflow.com
Passenger needs the document root to point to the public directory and needs to find the actual rails/rack app when going one directory up.

Thanks for help.


    (1-2/2)