From f3a85e71ef7cccdb385e036b97c8f0e3576ca066 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 13 Jan 2026 16:00:02 +0000 Subject: [PATCH] Bug 40993: Update etc/koha-httpd.conf --- etc/koha-httpd.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf index d8254d6bf0b..9ab741ed11f 100644 --- a/etc/koha-httpd.conf +++ b/etc/koha-httpd.conf @@ -227,6 +227,9 @@ # 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] + # Block direct access to value_builder scripts + RewriteRule ^/cgi-bin/koha/cataloguing/value_builder/ /cgi-bin/koha/errors/403.pl [L,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