[Koha-devel] virtual hosting on different databases

Sébastien Hinderer Sebastien.Hinderer at snv.jussieu.fr
Mon Jul 27 19:15:27 CEST 2009


Hi,

> I am trying to run two virtual koha on same server. That means, i am
> differentiating this by two different port numbers. 8080 & 8085. Now, if i
> want to use *two different database* for two ports, what i need to do? I
> think, i can clear my needs.
> 
> Situation will be like this:
> 
> If one wants to access: 192.168.1.233:8080  --> he/she will work on *koha *
> database
> If another one wants to access: 192.168.1.233:8085 --> he/she will
> work on *koha1
> *database.
> 
> Is it possible?

Yes. You will have two http virtual hosts, one for each db.
The only thing you have to do is to create one Koha configuration file
for each vhost (so for each databasse) and define the environment
variables correctly in your apache configuration file, so that the
script get called with the right db info.

hth,
Sébastien.



More information about the Koha-devel mailing list