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:
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.
72/330 Wattle St
Ultimo, NSW 2007
Office: 02 9212 0899
Direct: 02 8005 0595