[Koha] Multiple Instances on same server

Scott Leafe scott at leafenet.com
Sun Aug 26 08:40:10 NZST 2007


Wojceich,

Unfortunately this is not working.  This is what I have tried so far:

1) cp the koha-httpd.conf to xxkoha-httpd.conf
2) cp the koha.conf to xxkoha.conf and edit the database name to the new 
database to be used for new library.
3) modify the ports in the xxkoha-httpd.conf to something different like 70 
and 7070 and change the SetEnv KOHA_CONF to "/etc/xxkoha.conf."  I also 
changed the log file names on this new instance to make debugging easier.
4) So now I have two virtual hosts pointing to two different koha config 
files (and two different databases, of course), but both pointing to the 
same /usr/local/koha directory for all the application files.
5) restart apache2 and voila, the original library (both opac and admin) 
work just fine.  But when trying to load the new library, it does not load 
the *.pl files but asks where I want to save them (i.e., opac-main.pl, etc).

Not sure what I am doing wrong, but it's probably an easy fix.  Any 
thoughts?  I'm not a linux newbie, but this one is puzzling.  Seems as 
thought the index.html redirect is getting confused on the second instance, 
but I'm not sure why.

Scott

----- Original Message ----- 
From: "Wojciech Zatorski" <listy-in at zatorski.net>
To: <koha at lists.katipo.co.nz>
Sent: Saturday, August 25, 2007 6:17 AM
Subject: Re: [Koha] Multiple Instances on same server


> Hello Scott,
>
> Saturday, August 25, 2007, 7:58:59 AM, you wrote:
>
> SL> I'm running Koha 2.2.9 on Debian Etch with Mysql 5.0.  All works just 
> fine.
> SL> However, I need to set up a completely separate libarary for someone 
> and need to
> SL> host it on the same server.  Question is, can you run multiple 
> instances of Koha
> SL> on the same server?  I need the instances to be completely separate 
> based on
> SL> template customization needs.
>
> yes..
>
> on one server (virtual hosts), only perl code is the same:
>
> http://katalog.bg.szczecin.pl
> http://union.bg.szczecin.pl
> http://publi.bg.szczecin.pl
>
> -- 
> <wojciech at zatorski.net>
> tel. +48 509-855-239; GG: 1500861; Skype: zatorski
> http://www.Zatorski.Net
> --
> Be careful of reading health books, you might die of a misprint.  --
> Mark Twain
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
> 




More information about the Koha mailing list