Apache Fix for Koha REST API using CGI

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Apache Fix for Koha REST API using CGI

David Cook

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

 


_______________________________________________
Koha-devel mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/