HOW-TO MOVE REDMINE (2.x) TO ROOT URL (only Windows)
1- Edit the file "installdir/apps/redmine/conf/httpd-prefix.conf" to remove the "/redmine" prefix (installdir must be substituted in all steps for the current installation directory):
DocumentRoot "installdir/apps/redmine/htdocs/public/"
RewriteEngine On
RewriteRule ^/(.*)$ balancer://redminecluster%{REQUEST_URI} [P,QSA,L]
ProxyPass / balancer://redminecluster
ProxyPassReverse / balancer://redminecluster
<Proxy balancer://redminecluster>
BalancerMember http://127.0.0.1:port1
BalancerMember http://127.0.0.1:port2
</Proxy>
2- Open a command line and run the following commands:
cd installdir
cd apps\redmine\scripts
.\serviceinstall.bat UNINSTALL
The command line should be automatically closed.
3- Edit the file installdir/apps/redmine/scripts/serviceinstall.bat and remove the "--prefix /redmine" option in two lines (6 and 8).
4- Remove the file installdir/apps/redmine/htdocs/config/additional_environment.rb
5- Open another command line and run the following commands:
cd installdir
cd apps\redmine\scripts
.\serviceinstall.bat UNINSTALL
The command line should be automatically closed again.
6- Open the manager and restart Apache server
7- Go to: http://your_hostname:your_port