Project

General

Profile

How to have 2 redmine instances running in the same apache?

Added by Hugo Monteiro almost 14 years ago

I can only have one instance running. I want the first one to be root and the other one to be in a suburi.

Is there anything I could configure in httpd.conf to allow this?

What I have now:

<VirtualHost myprojects.com:80>
ServerName myprojects.com
DocumentRoot /var/www/railsapps/redmineprod/public/
</VirtualHost>

Only runs one instance.

Thanks,
Hugo


Replies (2)

RE: How to have 2 redmine instances running in the same apache? - Added by Felix Schäfer almost 14 years ago

What do you use to serve your redmine? Passenger, a reverse proxy, …?

RE: How to have 2 redmine instances running in the same apache? - Added by Hugo Monteiro almost 14 years ago

I solved it :-)

I was using redmine with passenger.
I created a virtual host with <Location>:

Example:

<VirtualHost *:80>
ServerName 127.0.0.1
DocumentRoot myredmineproduction/public

Alias /testing /var/www/myredminetesting/public
&lt;Location /testing&gt;
PassengerAppRoot var/www/myredminetesting/
&lt;/Location&gt;
Alias /testing2 /var/www/anotherredmine/public
&lt;Location /testing2&gt;
PassengerAppRoot /var/www/anotherredmine/
&lt;/Location&gt;

</VirtualHost>

Thanks for the help :-)

    (1-2/2)