Change Bitnami Redmine Homepage Guide

  • This guide will show you the steps needed to remove /redmine from your Bitnami Redmine server.
  • This guide will let you change the Bitnami Redmine starting page.
  • This guide will show you how to change the default URL to the root.
  • This guide will remove the Bitnami Redmine welcome page
  • This example is for a windows install, Bitnami Remine was installed to C:\Redmine_Server.

    1. Open C:\Redmine_Server/apps/redmine/conf/httpd-prefix.conf in a text editor
    2. Delete these 2 lines:
    Alias /redmine/ "C:\Redmine_Server/apps/redmine/htdocs/public/"
    Alias /redmine "C:\Redmine_Server/apps/redmine/htdocs/public"
    1. And replace with:
    DocumentRoot "C:\Redmine_Server/apps/redmine/htdocs/public/"
    RewriteEngine On
    RewriteRule ^/(.*)$ balancer://redminecluster%{REQUEST_URI} [P,QSA,L]
    1. Delete these 2 lines:
    ProxyPass /redmine balancer://redminecluster
    ProxyPassReverse /redmine balancer://redminecluster
    1. And replace with:
    ProxyPass / balancer://redminecluster
    ProxyPassReverse / balancer://redminecluster
    1. Delete these 2 lines:
    BalancerMember http://127.0.0.1:3001/redmine
    BalancerMember http://127.0.0.1:3002/redmine
    1. And replace with:
    BalancerMember http://127.0.0.1:3001
    BalancerMember http://127.0.0.1:3002

    Your httpd-prefix.conf should now look like this, your folder paths will be different of course:

    DocumentRoot "C:\Redmine_Server/apps/redmine/htdocs/public/"
    RewriteEngine On
    RewriteRule ^/(.*)$ balancer://redminecluster%{REQUEST_URI} [P,QSA,L]
    
    ProxyPass / balancer://redminecluster
    ProxyPassReverse / balancer://redminecluster
    
    BalancerMember http://127.0.0.1:3001
    BalancerMember http://127.0.0.1:3002
    
    Include "C:\Redmine_Server/apps/redmine/conf/httpd-app.conf"

    Open C:\Redmine_Server/apps/redmine/scripts/serviceinstall.bat in a text editor

    1. Delete this line:
    "C:\Redmine_Server/apps/redmine\scripts\winserv.exe" install "redmineThin1" -start auto "C:\Redmine_Server\ruby\bin\ruby.exe" "C:\Redmine_Server/apps/redmine\htdocs\bin\thin" start -p 3001 -e production -c "C:\Redmine_Server/apps/redmine/htdocs" --prefix /redmine
    1. And replace with:
    "C:\Redmine_Server/apps/redmine\scripts\winserv.exe" install "redmineThin1" -start auto "C:\Redmine_Server\ruby\bin\ruby.exe" "C:\Redmine_Server/apps/redmine\htdocs\bin\thin" start -p 3001 -e production -c "C:\Redmine_Server/apps/redmine/htdocs"
    1. Delete this line:
    ""C:\Redmine_Server/apps/redmine\scripts\winserv.exe" install "redmineThin2" -start auto "C:\Redmine_Server\ruby\bin\ruby.exe" "C:\Redmine_Server/apps/redmine\htdocs\bin\thin" start -p 3002 -e production -c "C:\Redmine_Server/apps/redmine/htdocs" --prefix /redmine
    1. And replace with:
    "C:\Redmine_Server/apps/redmine\scripts\winserv.exe" install "redmineThin2" -start auto "C:\Redmine_Server\ruby\bin\ruby.exe" "C:\Redmine_Server/apps/redmine\htdocs\bin\thin" start -p 3002 -e production -c "C:\Redmine_Server/apps/redmine/htdocs"

    Open C:\Redmine_Server/apps/redmine/htdocs/config/additional_environment.rb in a text editor

    1. Delete everything in this file
    2. Run these commands in a dos window
    cd “C:\Redmine_Server\apps\redmine\scripts”
    serviceinstall.bat UNINSTALL
    serviceinstall.bat INSTALL

    3 Comments

    Leave a Reply

    Your email address will not be published. Required fields are marked *