From 22f99cc7c59dadacb14b93330a41ef79ce068c80 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 19 Nov 2015 12:09:04 -0300 Subject: [PATCH] Bug 15218: (Plack) background-job-process.pl should be run in CGI mode This patch adds an entry to the plack-related apache configuration so the tools/background-job-process.pl is run in CGI mode. 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 --- debian/templates/apache-shared-intranet-plack.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/templates/apache-shared-intranet-plack.conf b/debian/templates/apache-shared-intranet-plack.conf index 65a34a2..cb38222 100644 --- a/debian/templates/apache-shared-intranet-plack.conf +++ b/debian/templates/apache-shared-intranet-plack.conf @@ -9,6 +9,9 @@ = 2.4.8> + # background-job-process.pl needs to run in CGI mode (TODO: fix)  + ScriptAlias "/cgi-bin/koha/tools/background-job-process.pl" "/usr/share/koha/intranet/cgi-bin/background-job-process.pl" + ProxyPreserveHost On # RequestHeader set X-FORWARDED-PROTO "https" -- 2.6.3