[Koha-bugs] [Bug 15005] (Plack) Use of SCRIPT_NAME makes Koha generate wrong URIs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 15 20:06:54 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15005

--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 43443
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43443&action=edit
Bug 15005: Use ReverseProxyPath on plack.psgi

This patch makes plack.psgi use ReverseProxyPath so %ENV{SCRIPT_NAME} is
correctly set when running Koha behind a reverse proxy that changes
the URI path (which is done on the Plack integration into packages).

The apache includes for plack are tweaked so the needed headers are set
before passing the request to the Plack backend.

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list