[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:37:38 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26048

--- Comment #6 from David Cook <dcook at prosentient.com.au> ---
That leads us to Apache's directive "ProxyErrorOverride On".

Interestingly, I just enabled that directive, and now I really am getting
Apache's generic HTTP 500 error response document.

And that's because the ErrorDocument scripts are scripts which are proxied to
Plack, so Apache won't use them for ProxyErrorOverride.

But we can get around that by adding the following to the *-plack.conf Apache
files:

ProxyPass "/cgi-bin/koha/errors/500.pl" "!"

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list