[Koha-bugs] [Bug 21250] Auto-self-checkout not fully compatible with two-branch library setup

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 28 12:11:05 CEST 2018


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

--- Comment #9 from Oliver Behnke <oliver.behnke at aei.mpg.de> ---
FYI, I successfully deployed the Apache-based syspref override workaround. The
nice thing about it is that (with Apache 2.4) you don't even need a separate
VirtualHost. Just use conditionals in the existing OPAC VirtualHost:

<If "-R 'CLIENT_OR_NET_IP_HERE'">
  SetEnv OVERRIDE_SYSPREF_AutoSelfCheckID "abc"
  SetEnv OVERRIDE_SYSPREF_AutoSelfCheckPass "123"
  RequestHeader add X-Koha-SetEnv "OVERRIDE_SYSPREF_AutoSelfCheckID abc"
  RequestHeader add X-Koha-SetEnv "OVERRIDE_SYSPREF_AutoSelfCheckPass 123"
</If>

Cheers

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


More information about the Koha-bugs mailing list