[Koha] Multiple interfaces - one instance

Galen Charlton gmc at esilibrary.com
Thu Jul 28 05:48:50 NZST 2016


Hi,

On Wed, Jul 27, 2016 at 9:30 AM, Tom Hanstra <hanstra at nd.edu> wrote:
> #  Repeat this virtualhost stanza changing the following environment vars to
> #  create multiple OPAC interfaces with custom css and/or search limits:
> #  SetEnv OPAC_CSS_OVERRIDE mystyle.css
> #  SetEnv OPAC_SEARCH_LIMIT branch:CODE
> #  SetEnv OPAC_LIMIT_OVERRIDE 1
>
> but it is not fully clear how this all works.  Do we have to create two
> different virtual hosts with IP aliases?  How much of the Apache
> configuration needs to be repeated to get this all working?

Assuming that you are using different names to distinguish between the
interfaces (e.g., foo.library.nd.edu, bar.library.nd.edu, etc.), the
Apache config should have a copy of the entire OPAC VirtualHost
section for each entry point; the differences between each one would
consist of:

- ServerName (and/or ServerAliases)
- SetEnv OPAC_CSS_OVERRIDE, etc.
- SSLCertificateFile (unless you're pointing them all at the same
wildcard certificate)

Regards,

Galen
-- 
Galen Charlton
Infrastructure and Added Services Manager
Equinox Software, Inc. / Open Your Library
email:  gmc at esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:    http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org &
http://evergreen-ils.org


More information about the Koha mailing list