Koha/debian/templates
Tomas Cohen Arazi 6e38b8b60f Bug 17030: Enable REST api on packages
This patch enables access to the REST API endpoint on packages setup.
It does so, by patching the shared apache-shared-intranet.conf and
apache-shared-opac.conf.

You can build your own master packages with this patch applied, or just:

- Grab
  debian/templates/apache-shared-intranet.conf
  debian/templates/apache-shared-opac.conf
and overwrite their counterparts in /etc/koha on a packages setup. For example
in kohadevbox.
- Have Koha loaded with all default data
- Create a superlibrarian user for you
- Login to the intranet and the OPAC
- Point your browser to:
  http://localhost:8080/api/v1/patrons/51
=> SUCCESS: You get JSON data, for the patron you requested
  http://localhost:8081/api/v1/patrons/51
=> SUCCESS: You get JSON data, for the patron you requested
- Sign off :-D

Note: I use the HTTPRequester addon for Firefox, re-using the CGISESSID value from the
browser session cookie, in the headers.

Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-08-08 13:17:34 +00:00
..
apache-shared-disable.conf Split off koha-common. 2010-05-25 07:58:56 -04:00
apache-shared-intranet-plack.conf Bug 15218: (QA followup) Fix wording of comment 2015-11-20 11:20:47 -03:00
apache-shared-intranet.conf Bug 17030: Enable REST api on packages 2016-08-08 13:17:34 +00:00
apache-shared-opac-plack.conf Bug 13791: (QA followup) Plack support requires Apache 2.4.8+ 2015-08-24 13:06:39 -03:00
apache-shared-opac.conf Bug 17030: Enable REST api on packages 2016-08-08 13:17:34 +00:00
apache-shared.conf Bug 12350 - disable apache indexes 2014-06-23 15:14:42 -03:00
apache-site-https.conf.in Bug 15303 Letsencrypt option for Debian package installations 2016-04-29 13:04:31 +00:00
apache-site.conf.in Bug 13791: Apache configuration files 2015-08-24 13:00:40 -03:00
koha-common.conf Bug 10942: (follow-up) debconfing the update option 2014-04-24 12:49:32 +00:00
koha-conf-site.xml.in Bug 16084: [QA Follow-up] Correct three occurrences of __KOHA_CONF_DIR__ 2016-03-25 21:07:54 +00:00
koha-sites.conf Bug 14383: debian: Fix some trivial typos 2015-06-22 17:34:44 -03:00
log4perl-site.conf.in Bug 14167: (QA followup) Add template and changes needed for packages 2015-07-21 10:18:11 -03:00
marc21-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-auth-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-bib-dom.xml Bug 11232: Add new syntax for facets definition on koha-indexdefs-to-zebra.xsl 2014-10-15 12:55:33 -03:00
marc21-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-auth-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-bib-dom.xml Bug 11232: Add new syntax for facets definition on koha-indexdefs-to-zebra.xsl 2014-10-15 12:55:33 -03:00
normarc-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
plack.psgi Bug 16644: Plack: Use to_app to remove warning about Plack::App::CGIBin instance 2016-06-24 13:06:37 +00:00
SIPconfig.xml Bug 7238 - make packages deal with SIP config 2012-02-15 17:23:08 +01:00
unimarc-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
unimarc-retrieval-info-auth-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
unimarc-retrieval-info-bib-dom.xml Bug 11232: Add new syntax for facets definition on koha-indexdefs-to-zebra.xsl 2014-10-15 12:55:33 -03:00
unimarc-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
zebra-authorities-dom-site.cfg.in Bug 12216: One should be able to override zebra config 2015-08-03 11:59:03 -03:00
zebra-authorities-site.cfg.in Bug 12216: One should be able to override zebra config 2015-08-03 11:59:03 -03:00
zebra-biblios-dom-site.cfg.in Bug 12216: One should be able to override zebra config 2015-08-03 11:59:03 -03:00
zebra-biblios-site.cfg.in Bug 12216: One should be able to override zebra config 2015-08-03 11:59:03 -03:00
zebra.passwd.in Add scripts to start, stop, restart Zebra, and rebuild its indexes. 2010-05-25 07:59:39 -04:00