[Koha-bugs] [Bug 26048] Apache does not use /cgi-bin/koha/errors/500.pl if Perl script dies
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 23 03:06:07 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26048
--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
And I think the answer can be found by reading
https://docstore.mik.ua/orelly/linux/cgi/ch05_05.htm
In C4::Context, in a BEGIN block, we do the following:
require CGI::Carp;
import CGI::Carp qw(fatalsToBrowser);
If you look at https://metacpan.org/release/CGI/source/lib/CGI/Carp.pm, you'll
see the HTML that is used when a Perl script dies with a 500 error - at least
when using CGI Koha.
If you're using Plack Koha (in dev mode), you'll get a stack trace instead.
I have to try Plack Koha in prod mode...
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list