From 84de45f7566c097bc7b2fba31a392a0fc734beb4 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 17 Nov 2025 09:13:20 +0100 Subject: [PATCH] Bug 41167: Add missing line to etx/koha-httpd.conf Content-Type: text/plain; charset=utf-8 Test plan: Run xt/check_apache_conf.t again. Should pass now. Signed-off-by: Marcel de Rooy --- etc/koha-httpd.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf index 1c6609787a..a527f9ca0d 100644 --- a/etc/koha-httpd.conf +++ b/etc/koha-httpd.conf @@ -224,6 +224,9 @@ # Rewrite Rules RewriteEngine On + # Protect dev install + RewriteRule ^/cgi-bin/koha/(C4|debian|docs|etc|installer/data|install_misc|Koha|misc|selenium|t|test|tmp|xt)/|\.PL$ /notfound [PT] + RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/catalogue/detail.pl?biblionumber=$1 [PT] RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] -- 2.39.5