[Koha] Editing koha-sites.conf to allow for multiple instances

Doug Dearden dearden at sarsf.org
Thu Jun 25 05:32:49 NZST 2020


Hey Sterling,

I believe what you want are Apache name based virtual hosts.  See here for more info: 
 https://httpd.apache.org/docs/2.4/vhosts/examples.html 

Hope that helps.

Doug

-----Original Message-----
From: Koha [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Sterling Jenson
Sent: Tuesday, June 23, 2020 2:13 PM
To: koha at lists.katipo.co.nz
Subject: [Koha] Editing koha-sites.conf to allow for multiple instances

Greetings all,

I am experimenting with setting up a second instance of Koha on my server.
While I have the second one up running, including SSL, I cannot figure out
how to edit the koha-sites.conf file so that I can access the staff page
using https://[library1]-admin.[domain].org and
https://[library2]-admin.[domain].org
instead of https://www.[domain].org:[portnumber].  I have already tried to
copy and paste this block:

DOMAIN="[domain]"
> INTRAPORT="80"
> INTRAPREFIX=""
> INTRASUFFIX="-admin"
> OPACPORT="80"
> OPACPREFIX="opac"
> OPACSUFFIX=""
>

and change the ports that were used, but, alas, no luck.  Thoughts on what
step I am missing?  Or did I overlook the information in the Wiki?  Thanks
in advance.

Best,

Sterling
_______________________________________________

Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list