https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39976
Bug ID: 39976
Summary: Serving static error pages from Apache instead of
Starman
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
At the moment, all error documents are produced dynamically by Starman/Koha.
When Apache encounters an error, it uses custom ErrorDocument directives which
end up proxying to Starman to get the errors. For example,
http://localhost:8081/blah.
When Plack encounters an error, it needs to produce its own error documents and
that's why we have the ErrorDocument middleware. For example, an Internal
Server Error in a Perl script. Since we're using persistent processes, this is
mostly fine.
But if someone does 100 concurrent requests to http://localhost:8081/blah, it
doesn't really make sense to transfer that load onto Starman/Plack. It would be
good if Apache could just handle it without touching the backend.
Pre-generating static pages isn't a big drama in itself, but the issue we'll
face is multilingualism.
But... in theory we could use mod_negotiation or mod_rewrite to do an internal
redirect to the language appropriate error document (based off the Koha
Language cookie ).
--
You are receiving this mail because:
You are the assignee for the bug.
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/