Project

General

Profile

Can I have two redmine instances on the same server

Added by fulvio fulvio about 9 years ago

I follow this installation:[[http://www.redmine.org/projects/redmine/wiki/Install_Redmine_25x_on_Centos_65_complete]]. And i'd like to get more than 2 instances on the same server on the same port 80. Could u help me?

I create two Apache configuration file for the Redmine application at the port 80.

Redmine1:/etc/httpd/conf.d/redmine.conf

<VirtualHost *:80>
ServerName www.fulvio.com
ServerAdmin
DocumentRoot /var/www/redmine/public/
ErrorLog logs/redmine_error_log
<Directory "/var/www/redmine/public/">
Options Indexes ExecCGI FollowSymLinks
Order allow,deny
Allow from all
AllowOverride all
</Directory>
</VirtualHost>

Redmine2:/etc/httpd/conf.d/redmine2.conf
<VirtualHost *:80>
ServerName www.fulvio.cn
ServerAdmin
DocumentRoot /var/www/redmine2/public/
ErrorLog logs/redmine_error_log
<Directory "/var/www/redmine2/public/">
Options Indexes ExecCGI FollowSymLinks
Order allow,deny
Allow from all
AllowOverride all
</Directory>
</VirtualHost>

After restart httpd server, just the last one working! And two domain get the last redmine application

Could u help me?

thanks in advance.


Replies (6)

RE: Can I have two redmine instances on the same server - Added by James H about 9 years ago

I had two instances running on the same web server.
It was very crudely done but it worked for the time being.

I had one Redmine web server instance running on one port and another instance on another port.
Then in Apache, most of the virtual host setup was pretty similar to what you have already, but I also had some ProxyPass, ProxyPassReverse, Proxy balancer stuff in each virtual host to proxy to each respective Redmine port.

RE: Can I have two redmine instances on the same server - Added by fulvio fulvio about 9 years ago

Could u share your success? Show me the step?

thanks in advance.

RE: Can I have two redmine instances on the same server - Added by James H about 9 years ago

? does that mean you got it working?

RE: Can I have two redmine instances on the same server - Added by fulvio fulvio about 9 years ago

yes! i got it working. thanks for your replies!

RE: Can I have two redmine instances on the same server - Added by James H about 9 years ago

cool lol
gj

i cant get mine to work now... _

    (1-6/6)