[Koha] More than one installation on one server

Chris Cormack chris at katipo.co.nz
Sun Mar 4 20:28:00 NZDT 2007


On Sat, Mar 03, 2007 at 05:37:31PM -0900, Dan Foote - DTS said:

> Can somebody please give me some information on how to go about putting
> more than one Koha site on the same server? <br>
> <br>
> I do have an installation up and running. I created a second
> installation using different ports for both the intranet and opac
> sides. Two config files for each site have also been created with
> different names, appropriate paths, db info, permissions, etc. Web
> server listens and responds on the assigned ports. <br>
> <br>
> I can watch both the koha and opac error logs and see where I fail,
> which always appears to be in relation to C4::Context.&nbsp; With this, I
> reviewed the Context.pm file and set the "use constant CONFIG_FNAME
> =&gt; "/etc/koha.conf";" statement to "use constant CONFIG_FNAME =&gt;
> "/etc/koha-2.conf";" (the name of my second config file). <br>

In your httpd.conf

For the second Koha do you have 
SetEnv KOHA_CONF "/etc/koha-2.conf"

Instead of 
SetEnv KOHA_CONF "/etc/koha.conf"

Chris
-- 
Chris Cormack                                                     Programmer
027 4500 789                                       Katipo Communications Ltd
chris at katipo.co.nz                                          www.katipo.co.nz


More information about the Koha mailing list