From e40291cb2c5f9399f6d49920d1218d36c07963c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Zermatten?= Date: Thu, 3 Sep 2026 09:59:53 +0000 Subject: [PATCH] Bug 10190: (QA follow-up): fix: missing rewrite rule in koha-httpd.conf Looking at Bug 41167, this ought to fix the 404 error noted in comment 192 for package installs. We do have a test asserting that RewriteRules must be carried over, so: Test plan: 1. Apply patch 2. prove xt/check_apache_conf.t 3. Confirm it passes That said, I don't think it is replicable in ktd - the copied file at /etc/koha/apache-shared-intranet.conf will remain stale unless cp_debian_files.pl runs. The migration issue itself might be ktd-specific. Sponsored-by: Glasgow Colleges Library Group Signed-off-by: Nick Clemens Signed-off-by: Pedro Amorim --- etc/koha-httpd.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf index 3f2da86d68..24e6cb40c3 100644 --- a/etc/koha-httpd.conf +++ b/etc/koha-httpd.conf @@ -244,6 +244,7 @@ RewriteCond %{QUERY_STRING} booksellerid=(.*) RewriteRule ^/cgi-bin/koha/acqui/supplier.pl$ /cgi-bin/koha/acquisition/vendors/%1? [R] RewriteRule ^/cgi-bin/koha/acquisition/vendors(.*)?$ /cgi-bin/koha/acqui/vendors.pl$1 [PT] + RewriteRule ^/cgi-bin/koha/admin/circulation_triggers(.*)?$ /cgi-bin/koha/admin/circulation_triggers.pl$1 [PT] # REST API configuration Alias "/api" "__API_CGI_DIR__"