Bugzilla – Attachment 45019 Details for
Bug 15218
Make processes that rely on background jobs run in CGI mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15218: (Plack) background-job-process.pl should be run in CGI mode
Bug-15218-Plack-background-job-processpl-should-be.patch (text/plain), 1.48 KB, created by
Tomás Cohen Arazi (tcohen)
on 2015-11-19 15:13:24 UTC
(
hide
)
Description:
Bug 15218: (Plack) background-job-process.pl should be run in CGI mode
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2015-11-19 15:13:24 UTC
Size:
1.48 KB
patch
obsolete
>From 22f99cc7c59dadacb14b93330a41ef79ce068c80 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >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 <tomascohen@theke.io> >--- > 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 @@ > <IfVersion >= 2.4.8> > <IfModule mod_proxy_http.c> > >+ # 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15218
:
45019
|
45035
|
45044
|
45045