[Koha-devel] Apache Fix for Koha REST API using CGI
David Cook
dcook at prosentient.com.au
Tue Jul 3 11:15:44 CEST 2018
Hi all,
After taking Tomas's advice of installing Koha using the Debian packages and
enabling Plack and seeing how the API works there, I've arrived at the
conclusion that the Apache Rewrite rules are incorrect in the following
files:
debian/templates/apache-shared-intranet.conf
debian/templates/apache-shared-opac.conf
etc/koha-httpd.conf
I've submitted a bug report and attached patches here:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21031
I've tested with a source installed Koha and a git dev Koha and the patches
work great on both.
Obviously, the Koha REST API is a lot slower when using CGI instead of
Plack, but I figure it's still useful for CGI folk to be able to use it -
and to use it with the same URL as the Plack folk.
Hopefully people find this useful.
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia
Office: 02 9212 0899
Direct: 02 8005 0595
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20180703/f765d1bd/attachment.html>
More information about the Koha-devel
mailing list