[Koha] Multiple interfaces - one instance

Andy Boze boze.1 at nd.edu
Thu Jul 28 08:21:03 NZST 2016


Can OPAC_CSS_OVERRIDE reference an external CSS file, or does it have to 
reside on the Koha server?

On 7/27/2016 1:48 PM, Galen Charlton wrote:
> 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
>

-- 
Andy Boze, Associate Librarian
University of Notre Dame
208A Hesburgh Library
(574) 631-8708


More information about the Koha mailing list