Erlang Mailing Lists

Author Message

<  Ejabberd mailing list  ~  Grouping {hosts} into one {host_config}

Guest
Posted: Wed Feb 14, 2007 8:03 pm Reply with quote
Guest
Let's see if i can be understood!

My ejabberd server has some vhosts, all them are using the same DB (in
pgsql) and i want to have one host_config line for all the vhosts.
For example, i had tried this

Declare this acl, to group all my vhosts:

{acl, redjab, {server, "lab.home.cu", "jabber.home.cu"}}.

Declare:

{hosts, ["redjab"]}.

and then declare this:

{host_config, "redjab", [{auth_method, odbc},
{odbc_server, {pgsql, "127.0.0.1",
"home", "mmelyp", "xx"}}]}.


but didn't work, i think i'm violating hosts and host_config syntax.

Right now i have a host_config for every vhosts with the same
parameters. i want to know if exists some way to group all this vhosts
in one host_config configuration.
Just for reduce the cfg file.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum