[Koha-bugs] [Bug 21031] 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
Fri Jul 27 11:29:35 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21031
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #76725|0 |1
is obsolete| |
--- Comment #14 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 77300
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77300&action=edit
Bug 21031 - Apache Rewrite rules don't work for API when using anything but
Debian package Plack configuration
The Rewrite rules for Apache don't work unless you're using
debian/templates/apache-shared-opac-plack.conf or
debian/templates/apache-shared-intranet-plack.conf.
This patch fixes the Rewrite rules for the non-Plack Debian
Apache configuration templates as well as the standard
Apache configuration file that comes with Koha.
__BEFORE APPLYING__
1. Visit /api/v1/app.pl/api/v1/spec on your git dev install
2. This should display a large page of JSON
3. Visit /api/v1/spec on your git dev install
4. This should generate a 404 error
__APPLY PATCH__
__AFTER APPLYING__
5. Visit /api/v1/app.pl/api/v1/spec on your git dev install
6. This should display a large page of JSON
7. Visit /api/v1/spec on your git dev install
8. This should display a large page of JSON (identical to
the one from earlier steps)
Signed-off-by: Ere Maijala <ere.maijala at helsinki.fi>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Passed QA with few notes posted separately to Bugzilla.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list