https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17030
--- Comment #3 from Tomás Cohen Arazi <[email protected]> --- 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. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
