[DRE-maint] [Bug 624598] Re: Multiple instance of redmine does not work with passenger
Ron Adams
624598 at bugs.launchpad.net
Mon Mar 14 02:07:33 UTC 2011
This bug happened to me. Can we get a backport for this, to save other
users the hassle? I'm on 10.04.2. It's a pretty trivial fix, so it
doesn't seem like it would be too hard to backport.
--
You received this bug notification because you are subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/624598
Title:
Multiple instance of redmine does not work with passenger
Status in “redmine” package in Ubuntu:
Fix Committed
Bug description:
Binary package hint: redmine
After setting up multiple instance of redmine with
dpkg-reconfigure redmine
if they are accessed by means of apache + fastcgi everything works correctly, while if they are accessed by means of apache + passenger they do not work. In particular, the problem with passenger is that the first instance of redmine accessed by the browser will be the only instance accessible regardless of the URL used.
I have attached the apache configuration that proves the reported issue. If you want to test it you have to:
0 - install the packages redmine, passenger, libapache2-mod-fcgid, and libfcgi-ruby1.8
1 - create two instance of redmine called redalpha and redbeta
2 - add the line 127.0.1.1 redalpha redbeta to the file /etc/hosts
3 - disable the fastcgi module and enable the passenger module by typing a2enmod passenger && a2dismod fcgid
4 - copy the attched file in /etc/apache2/sites-available/ and enable them with a2ensite redalpha redbeta
5 - restart apache
6 - from the machine access to http://redalpha/, login as admin and create a project called alpha-project
7 - from the machine access to http://redbeta/ and you will see the alpha-project created
8 - enable fcgid and disable passenger by typing a2enmod fcgid && a2dismod passenger
9 - restart apache
10 - from the machine access to http://redalpha/ and you will see the alpha-project project
11 - from the machine access to http://redbeta/ and you will see no project at all
As you can see from the procedure above the steps 6 and 7 shows the
issue with passenger, which goes away as soon as fcgid is used (see
steps 10 and 11)
I hope it can help,
Stefano "Kismet" Lenzi
More information about the Pkg-ruby-extras-maintainers
mailing list