[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
Fri Oct 16 10:09:28 CEST 2015


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

--- Comment #13 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Tomás Cohen Arazi from comment #7)
> Created attachment 43444 [details] [review]
> 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>

Tomas,
Unfortunately, this does not work, the path generated is now
/cgi-bin/koha/intranet/modules/script.pl (note the '/intranet').
The last patch I have proposed should fix the issue on a silly way (but
working...).

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


More information about the Koha-bugs mailing list