[Koha-bugs] [Bug 21031] New: Apache Rewrite rules don't work for API when using anything but Debian package Plack configuration
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 3 10:35:19 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21031
Bug ID: 21031
Summary: Apache Rewrite rules don't work for API when using
anything but Debian package Plack configuration
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: REST api
Assignee: koha-bugs at lists.koha-community.org
Reporter: dcook at prosentient.com.au
If you install Koha using the Debian packages and you enable Plack, you should
be able to reach the API using the following URL: "/api/v1/"
If you install Koha using the Debian packages and you don't enable Plack (or
you install from source or you're using a git install or whatever else), you
can only get the same API response by visiting "/api/v1/app.pl/api/v1/spec"
It appears to me that the Rewrite rules in etc/koha-httpd.conf,
debian/templates/apache-shared-opac.conf, and
debian/templates/apache-shared-intranet.conf don't work.
Fixing this doesn't seem quite as easy as just copying over the Apache
configuration for Plack-enabled instances, unfortunately, but I'm looking at
this...
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list