[ejabberd] share a transport between 2 domains

Sander Devrieze s.devrieze at pandora.be
Mon Nov 28 02:13:24 MSK 2005


Op zondag 27 november 2005 22:36, schreef Le Boulanger Yann:
> Hi,
>
> My ejabberd server handle 2 domains, so I have this line in my config file:
> {hosts, ["dom1.org", "dom2.org"]}.
>
> on on domain I have a msn transport running and listening to
> msn.dom1.org, so I have this line in my config file:
> {5347, ejabberd_service, [{ip, {127, 0, 0, 1}},
>                             {access, all},
>                             {hosts, ["msn.dom1.org"], [{password,
> "XXX"}]}]},
>
> now I'd like to share this transport to the other host, so that when I
> browse dom2.org, I see msn.dom1.org. I think it's better than running a
> second MSN transport on another port.
>
> Could you help me to configure ejabberd for that ?

I guess the second example will do what you want:
http://users.telenet.be/s.devrieze/ejabberd/guide/guide.html#htoc38

-- 
Mvg, Sander Devrieze.
xmpp:sander at devrieze.dyndns.org

ejabberd, the expandable Jabber daemon. --
http://ejabberd.jabber.ru/


More information about the ejabberd mailing list