How to have 2 redmine instances running in the same apache?
Added by Hugo Monteiro about 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 about 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 about 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
<Location /testing>
PassengerAppRoot var/www/myredminetesting/
</Location>
Alias /testing2 /var/www/anotherredmine/public
<Location /testing2>
PassengerAppRoot /var/www/anotherredmine/
</Location>
</VirtualHost>
Thanks for the help :-)