From b116fccb8cee35af99afe2b0b64b0fe821174432 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 21 Oct 2025 04:56:42 +0000 Subject: [PATCH] Bug 40993: (QA follow-up) use L flag to stop the rewrite after PT action Signed-off-by: David Cook --- debian/templates/apache-shared-intranet.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/templates/apache-shared-intranet.conf b/debian/templates/apache-shared-intranet.conf index d8ee24e10f..887174b7ea 100644 --- a/debian/templates/apache-shared-intranet.conf +++ b/debian/templates/apache-shared-intranet.conf @@ -15,7 +15,7 @@ ScriptAlias /search "/usr/share/koha/intranet/cgi-bin/catalogue/search.pl" RewriteEngine on RewriteRule ^/cgi-bin/koha/(C4|debian|docs|etc|installer/data|install_misc|Koha|misc|selenium|t|test|tmp|xt)/|\.PL$ /notfound [PT] # Do not allow hitting value_builder pages directly -RewriteRule ^/cgi-bin/koha/cataloguing/value_builder/ /cgi-bin/koha/errors/403.pl [PT] +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] -- 2.39.5