[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:10:28 CEST 2015


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #43443|0                           |1
        is obsolete|                            |

--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 43444
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43444&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.

Edit: added missing dependency

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