Project

General

Profile

Redmine as Main Page

Added by Leonardo Silva almost 9 years ago

Hello there.

I followed this howto (https://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_on_Debian_8_with_Apache2-Passenger) and everything is working fine.

Only thing is that I can only access redmine via http://$IP/redmine, while I would like to access it by http://$IP.

I've searched it already, but I guess it's so simple to solve this issue that I can't find the right keywords in order to solve it.

Could someone help me, please?

Thank you all for your attention.

Environment:
Redmine version 3.1.1.stable
Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux-gnu]
Rails version 4.2.4
Environment production
Database adapter Mysql2
SCM:
Filesystem
Redmine plugins:
no plugin installed


Replies (2)

RE: Redmine as Main Page - Added by budo kaiman almost 9 years ago

After you edit your config from step:

sudo vim /etc/apache2/sites-available/master.conf

Your document root is set to "/var/www/html"

If you are only using redmine, you could change your root so your config is:

<VirtualHost *:80>

ServerAdmin admin@example.com
Servername hostname
DocumentRoot /var/www/html/redmine

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

</VirtualHost>

Then just restart apache.

RE: Redmine as Main Page - Added by Leonardo Silva almost 9 years ago

It worked!

Thank you very much!

    (1-2/2)