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

--- Comment #5 from David Cook <[email protected]> ---
(In reply to David Cook from comment #4)
> Now the paths in our ErrorDocument use relative paths because of reasons I
> can't remember. I know it is (or was) important at the time. Although that
> gives me an idea...

Changing the following in /etc/koha/sites/kohadev/plack.psgi seems good...
404 => 'errors/404.pl',
to
404 => '/errors/404.pl',

It fixes the path issue while ErrorDocument seems to still function correctly.

Since plack.psgi can be customized, we might want to change both it and add the
above "prepend script name with / if missing", although... it might be a small
enough edge case that we just change the ErrorDocument config in plack.psgi...

Really wonder why I said "it is important that these are relative links" in the
.psgi file...

Yeah nah... I can't see a necessary reason for not having the / for those
config values...

I've tried with both 404 and 500 (after turning off debugging in koha-conf.xml)

Maybe it was due to some other thing that we fixed at some other stage...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to