Bug 15218: (Plack) Make processes that rely on background jobs run in CGI mode
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 20 Nov 2015 03:08:45 +0000 (00:08 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 20 Nov 2015 14:20:35 +0000 (11:20 -0300)
commit65283e72cab4eccc6d637263ffaa6b51ffa2ce69
tree0e3233c66e3398b611ad63aa7f19c5ac2bfa112e
parentd69b6c048077fc028941870d1912b325076800c1
Bug 15218: (Plack) Make processes that rely on background jobs run in CGI mode

This patch adds an entry to the plack-related apache configuration so the
problematic scripts (that fail under plack/starman) are not processed through
Plack but in CGI mode instead.

To test:
- Follow the setup steps from bug 15032
- Add the line from this patch to /etc/koha/apache-shared-intranet-plack.conf
 (if you are on kohadevbox you should probably change the filesystem path to
  /home/vagrant/kohaclone/tools/background-job-process.pl)
- Do the full import process of MARC data.
=> SUCCESS: It works as expected.
- Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
debian/templates/apache-shared-intranet-plack.conf