[DRE-maint] [Bug 624598] [NEW] Multiple instance of redmine does not work with passenger
Stefano Lenzi
624598 at bugs.launchpad.net
Thu Aug 26 11:47:16 UTC 2010
Public bug reported:
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
** Affects: redmine (Ubuntu)
Importance: Undecided
Status: New
--
Multiple instance of redmine does not work with passenger
https://bugs.launchpad.net/bugs/624598
You received this bug notification because you are subscribed to Ubuntu.
Status in “redmine” package in Ubuntu: New
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