first steps towards dynamic virtual host

I make a little step towards dynamic virtual hosts.

this function from console adds a new virtual host "g.it" to the existing "r.it"
ejabberd_config:add_global_option(hosts,["r.it","g.it"]).

so this could be put as a reference to ldap server.

next step is to set this host to auth with ldap...
does somebody know what else to change?

Peace, R.

Syndicate content