From afe93c21a1f6f9d79922ac02774bba38c285f717 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 Test plan: Run xt/check_apache_conf.t again. Should pass now. Signed-off-by: Marcel de Rooy Signed-off-by: Lucas Gass (cherry picked from commit 5c0fb862ba3b26b3f71dc966209e8fd93fb32766) Signed-off-by: Paul Derscheid --- 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]