diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf index d8254d6bf0..367d3bce8f 100644 --- a/etc/koha-httpd.conf +++ b/etc/koha-httpd.conf @@ -226,6 +226,8 @@ # 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] + # Do not allow hitting value_builder pages directly + 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]