Make / as root URL instead of /redmine
Added by Vladislav Zharkov almost 6 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 almost 6 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. ;-)
RE: Make / as root URL instead of /redmine - Added by Bernhard Rohloff almost 6 years ago
By the way...
Here you can find the configuration guide of passenger for ruby.
https://www.phusionpassenger.com/library/config/apache/reference/#passengerruby