Multiple instances of sequenceserver running on apache virtual host

Hi there.

We need multiple instances of sequenceserver running on the same machine.
It is possible? The reason we need this is because we have different groups that want to use the tool but they are in different research groups and the data should not be shared.
We currently use htpasswd for access control on virtual host on apache.

Could you suggest a way to host multiple, separate instances of sequence server? (each with his own config file and sequence database)

Regards
Fred

We need multiple instances of sequenceserver running on the same machine.
It is possible? The reason we need this is because we have different groups
that want to use the tool but they are in different research groups and the
data should not be shared.

Yes, it is possible.

We currently use htpasswd for access control on virtual host on apache.

Could you suggest a way to host multiple, separate instances of sequence
server? (each with his own config file and sequence database)

For each SS instance make a directory structure like so:

ss1

-- public
-- tmp
  `-- restart.txt
-- config.yml

`-- config.ru

`config.yml` contains the settings (databases directory, etc.)
corresponding to that SS instance. `config.ru` is the same as the
default one, except you need to add:

SequenceServer::App.config_file = './config.yml'

before the line:

SequenceServer::App.init

The add each instance to Apache like you would add a typical SS instance.

Great!That’s what I thought but I was skeptic. Really like the new changes to ss!Keep up the great work!

Thanks :).