Project

General

Profile

Make / as root URL instead of /redmine

Added by Vladislav Zharkov about 5 years ago

Can't get my head aroud this issue, maybe because this PassengerPhusion involved. I have a basic apache config from how to's:

<VirtualHost *:80>

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

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

</VirtualHost>

I need change my main redmine page from http://localhost/redmine to just http://localhost/


Replies (2)

RE: Make / as root URL instead of /redmine - Added by Bernhard Rohloff about 5 years ago

I'm not a passenger expert at all, but I think you should be fine with removing the Location part like this...

<VirtualHost *:80>

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

     RailsEnv production
     Options -MultiViews

</VirtualHost>

I haven't tried it so use it with caution...
... and make a backup of your current config. ;-)

    (1-2/2)