[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 --- Comment #15 from David Cook --- The ErrorDocument middleware does set up environmental variables prefixed with "psgix.errordocument" but CGI::Emulate::PSGI strips those out...

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 --- Comment #14 from David Cook --- An easier to maintain option would be to not proxy "/cgi-bin/koha/errors/*" files to Starman, but... that would probably be short-sighted, since there are times where we redirect manually to

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 --- Comment #13 from David Cook --- Side note: In /etc/koha/sites/kohadev/plack.psgi I should've put '/errors/404.pl' instead of 'errors/404.pl' but it seems to work anyway. -- You are receiving this mail because: You are watching

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 David Cook changed: What|Removed |Added Status|Signed Off |Failed QA --- Comment #12

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 --- Comment #11 from Martin Renvoize --- OK.. the documentation for Plack::Middleware::ErrorDocument clearly states: > When using a subrequest, the subrequest should return a regular '200' > response. So, as we're enabling

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 Martin Renvoize changed: What|Removed |Added CC|

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 --- Comment #9 from Liz Rea --- (In reply to Tomás Cohen Arazi from comment #5) > Do we really need to pass error pages through CGI/Perl? I wondered this too, but the improvement in the error pages is nice. Just wish it worked for

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 Marcel de Rooy changed: What|Removed |Added CC||m.de.r...@rijksmuseum.nl

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-17 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 --- Comment #7 from David Cook --- (In reply to Tomás Cohen Arazi from comment #5) > Do we really need to pass error pages through CGI/Perl? You mean instead of using static HTML pages or...? -- You are receiving this mail

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-17 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 --- Comment #6 from David Cook --- (In reply to Liz Rea from comment #4) > It does not stop it from working, it shows the error page under the login > screen for 401's. Hmm weird. I have no idea then without testing and digging in

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-17 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 --- Comment #5 from Tomás Cohen Arazi --- Do we really need to pass error pages through CGI/Perl? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-17 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 --- Comment #4 from Liz Rea --- It does not stop it from working, it shows the error page under the login screen for 401's. -- You are receiving this mail because: You are watching all bug changes.

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-09 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 David Cook changed: What|Removed |Added CC||dc...@prosentient.com.au ---

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-09 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 Nick Clemens changed: What|Removed |Added See Also||https://bugs.koha-community

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-05 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 Tomás Cohen Arazi changed: What|Removed |Added CC||tomasco...@gmail.com

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-05 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 Nick Clemens changed: What|Removed |Added Attachment #127328|0 |1 is obsolete|

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-05 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 Nick Clemens changed: What|Removed |Added Status|Needs Signoff |Signed Off -- You are

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-04 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 Liz Rea changed: What|Removed |Added Status|NEW |Needs Signoff

[Koha-bugs] [Bug 29420] 401 Unauthorized pages come back as 200 OK under plack

2021-11-04 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420 --- Comment #1 from Liz Rea --- Created attachment 127328 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127328=edit Bug 29420 - 401 Unauthorized pages come back is 200 OK under plack To test: - create an alias