https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34293 --- Comment #4 from David Cook <dcook@prosentient.com.au> --- So I think this might be impossible without removing Plack::Middleware::ErrorDocument or mounting ilsdi.pl as its own Plack app. The latter could be doable using the following: my $ilsdi_app = Plack::App::WrapCGI->new(script => "/path/to/script.pl")->to_app; mount '/opac/ilsdi.pl' => $ilsdi_app; Plack::App::WrapCGI is what's used under the hood by Plack::App::CGIBin. The path to script would depend on whether or not it's a DEV_INSTALL, but it would be doable. -- But it might not be worth it just to get better HTTP codes... -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.