Bugzilla – Attachment 45044 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]
[PASSED QA] Bug 15218: (Plack) Make processes that rely on background jobs run in CGI mode
PASSED-QA-Bug-15218-Plack-Make-processes-that-rely.patch (text/plain), 2.23 KB, created by
Kyle M Hall (khall)
on 2015-11-20 14:13:45 UTC
(
hide
)
Description:
[PASSED QA] Bug 15218: (Plack) Make processes that rely on background jobs run in CGI mode
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-11-20 14:13:45 UTC
Size:
2.23 KB
patch
obsolete
>From 3b690372d65f68c5eb2d6fa0f99d63ccb0052002 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 20 Nov 2015 00:08:45 -0300 >Subject: [PATCH] [PASSED QA] 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> >--- > debian/templates/apache-shared-intranet-plack.conf | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > >diff --git a/debian/templates/apache-shared-intranet-plack.conf b/debian/templates/apache-shared-intranet-plack.conf >index 65a34a2..8dcc53a 100644 >--- a/debian/templates/apache-shared-intranet-plack.conf >+++ b/debian/templates/apache-shared-intranet-plack.conf >@@ -5,10 +5,20 @@ > # /etc/apache2/site-available file, from within the VirtualHost section > # for the intranet. > >-#Â Plack is only available out-of-the-box for Apache 2.4.7+ setups >+#Â Plack is only available out-of-the-box for Apache 2.4.8+ setups > <IfVersion >= 2.4.8> > <IfModule mod_proxy_http.c> > >+ #Â FIXME: This scripts should be fixed so they >+ #Â don't break under plack/starman >+ ProxyPass "/cgi-bin/koha/offline_circ/process_koc.pl" "!" >+ ProxyPass "/cgi-bin/koha/tools/background-job-progress.pl" "!" >+ ProxyPass "/cgi-bin/koha/tools/batch_record_modification.pl" "!" >+ ProxyPass "/cgi-bin/koha/tools/batchMod.pl" "!" >+ ProxyPass "/cgi-bin/koha/tools/manage-marc-import.pl" "!" >+ ProxyPass "/cgi-bin/koha/tools/stage-marc-import.pl" "!" >+ ProxyPass "/cgi-bin/koha/tools/upload-cover-image.pl" "!" >+ > ProxyPreserveHost On > > # RequestHeader set X-FORWARDED-PROTO "https" >-- >1.7.10.4
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