[Koha-bugs] [Bug 17030] Configure the REST api on packages install

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 4 17:52:23 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17030

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 53995
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53995&action=edit
Bug 17030: (followup) Rewrite rule for Plack

This patch fixes the TODO from the previous one. It implements the rewrite
on the Plack-related files so pretty uRLs can be used.

To test:
- Follow the previous patches test steps (you should have a tweaked plack-psgi
file
  and Plack enabled)
- Grab
  debian/templates/apache-shared-opac-plack.conf
  debian/templates/apache-shared-intranet-plack.conf
and put them in /etc/koha
- Run:
  $ sudo service apache2 restart
- Point your browser to:
  http://localhost:8080/api/v1/app.pl/api/v1/patrons/50
=> SUCCESS: You get the JSON output from the REST api
- Point your browser to the pretty URL:
  http://localhost:8080/api/v1/patrons/50
=> SUCCESS: You get the JSON output from the REST api
- Repeat for port 8081 (intranet)
- Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list