[Koha-bugs] [Bug 16520] Per-virtualhost SetEnvs don't work with Plack
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat May 14 00:50:13 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16520
--- Comment #1 from Jesse Weaver <jweaver at bywatersolutions.com> ---
Created attachment 51493
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51493&action=edit
Bug 16520: Allow per-VirtualHost environment variables with Plack
This allows MEMCACHED_*, OVERRIDE_SYSPREF_* and others to work properly.
Test plan:
1) Add the following line to your plack.psgi (near the bottom, just
above "mount ..."):
enable "+Koha::Middleware::Plack";
2) Load the OPAC advanced search page (under Plack). The title should
read "Koha online catalog" (or whatever your LibraryName syspref
contains).
3) Add the following to your Apache configuration:
RequestHeader add X-Koha-SetEnv "OVERRIDE_SYSPREF_LibraryName Potato\,
Potato"
4) Restart Apache.
5) Refresh. The title should now read "Potato, Potato online catalog".
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list