From 7d5d0a488596e6594d934ca60e1ad79902c1368d Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 3 Sep 2020 16:23:04 +0000 Subject: [PATCH] Bug 8437: Exclude export.pl from plack When attempting to download large files from Koha plack can timeout Excluding the script from plack is a simple fix until we have a more permanent fix for this issue. To test: 1 - Try to export your entire DB from Tools->Export 2 - If big enough, it fails 3 - Apply patch, copy changes to /etc/koha/apache-shared-intranet-plack.conf 4 - Restart all the things 5 - Repeat export, it succeeds Signed-off-by: David Cook Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit 564ade93cce9231b01db1c4ebfc8f4e5b31e1acd) Signed-off-by: Lucas Gass (cherry picked from commit ae2bce1312b63d732ec07df21ef16740a8d179d2) Signed-off-by: Aleisha Amohia --- debian/templates/apache-shared-intranet-plack.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/templates/apache-shared-intranet-plack.conf b/debian/templates/apache-shared-intranet-plack.conf index ff8cd9cf58..73b28d3216 100644 --- a/debian/templates/apache-shared-intranet-plack.conf +++ b/debian/templates/apache-shared-intranet-plack.conf @@ -15,6 +15,7 @@ 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/export.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" "!" -- 2.20.1