ejabberd - Comments for "mod_muc: have a multiple-host ejabberd instance share one mod_muc?" https://www.ejabberd.im/node/1268 en One MUC, and one link https://www.ejabberd.im/node/1268#comment-2791 <p>This is the solution:</p> <ol> <li>abc.com has its mod_muc as usual, with the appropiate name "conference.abc.com". </li><li>xyz.com don't need mod_muc at all. Instead, tell mod_disco to add a link to "conference.abc.com". </li></ol> <p>Since the modules on one host and the other are different, you must configure their modules independently. On ejabberd.cfg, instead of</p> <pre>{modules, [ ... {mod_muc, []}, {mod_disco, []}, ... ]}.</pre><p>you must put something like</p> <pre> {host_config, "abc.com", [{modules, [ ... {mod_muc, [{host, "conference.abc.com"}]}, {mod_disco, []}, ... ]}]}. {host_config, "xyz.com", [{modules, [ ... %{mod_muc, []}, % Don't start mod_muc on this host {mod_disco, [{extra_domains, ["conference.abc.com"]}]}, ... ]}]}.</pre><p> Your ejabberd.cfg file will be a lot larger, but it should work.</p> Fri, 29 Dec 2006 22:58:04 +0000 mfoss comment 2791 at https://www.ejabberd.im