Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Koha's REST API instead of relying on altered Apache configuration #98

Open
minusdavid opened this issue Apr 26, 2021 · 5 comments
Open

Comments

@minusdavid
Copy link
Contributor

As of at least eds_plugin_19.05010.kpz, it looks like the EDS plugin requires Apache to have an Alias directive pointing to the plugin directory.

Modern Koha plugins like https://github.com/bywatersolutions/koha-plugin-coverflow inject routes into Koha's REST API so that no special configuration changes need to be made server side.

@mmabrahamson
Copy link
Collaborator

This sounds fantastic! Anything to make it easier to install. I couldn't spot where the linked repo is doing the route injection. Could you point me to the section where this happens? Appreciate it!

@kidclamp
Copy link
Contributor

Here is the specific commit, there were some followups too
bywatersolutions/koha-plugin-coverflow@68caf99

For more details on adding routs to a plugin:
https://koha-community.gitlab.io/KohaAdvent/

@minusdavid
Copy link
Contributor Author

This would still be nice to have. I tried to find documentation for the altered Apache configuration but I couldn't find any. Fortunately, I was able to find some old existing examples on my own systems.

I can't get the EDS plugin to work on 21.11, but I'm having the librarian follow up with EBSCO, as I imagine it's just plugin configuration and nothing Koha specific...

@minusdavid
Copy link
Contributor Author

It is pretty frustrating trying to get this plugin to work.

Found the alias at https://koha.katipo.co.narkive.com/GnvGDdb2/eds-plugin-not-loading

Alias /plugin/ "/var/lib/koha/instance/plugins/"

@minusdavid
Copy link
Contributor Author

Needed the Location directive as well since Apache didn't want to run those scripts as CGI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants