https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16520

Nick Clemens <n...@bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51576|0                           |1
        is obsolete|                            |
  Attachment #51577|0                           |1
        is obsolete|                            |
  Attachment #51578|0                           |1
        is obsolete|                            |
  Attachment #51579|0                           |1
        is obsolete|                            |
  Attachment #51580|0                           |1
        is obsolete|                            |

--- Comment #20 from Nick Clemens <n...@bywatersolutions.com> ---
Created attachment 56309
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56309&action=edit
Bug 16520: Allow per-VirtualHost environment variables with Plack

This allows 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".

Signed-off-by: Tomas Cohen Arazi <tomasco...@theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to