This example is for a windows install, Bitnami Remine was installed to C:\Redmine_Server.
- Open C:\Redmine_Server/apps/redmine/conf/httpd-prefix.conf in a text editor
- Delete these 2 lines:
Alias /redmine/ "C:\Redmine_Server/apps/redmine/htdocs/public/" Alias /redmine "C:\Redmine_Server/apps/redmine/htdocs/public"
- And replace with:
DocumentRoot "C:\Redmine_Server/apps/redmine/htdocs/public/" RewriteEngine On RewriteRule ^/(.*)$ balancer://redminecluster%{REQUEST_URI} [P,QSA,L]
- Delete these 2 lines:
ProxyPass /redmine balancer://redminecluster ProxyPassReverse /redmine balancer://redminecluster
- And replace with:
ProxyPass / balancer://redminecluster ProxyPassReverse / balancer://redminecluster
- Delete these 2 lines:
BalancerMember http://127.0.0.1:3001/redmine BalancerMember http://127.0.0.1:3002/redmine
- 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
- 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
- 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"
- 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
- 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
- Delete everything in this file
- Run these commands in a dos window
cd “C:\Redmine_Server\apps\redmine\scripts” serviceinstall.bat UNINSTALL serviceinstall.bat INSTALL
Thank you!!
thank you for the help!
Thank you~! ^_^/