ejabberd - Comments for "PyMSNt and virtual hosts" https://www.ejabberd.im/node/3201 en mod_disco https://www.ejabberd.im/node/3201#comment-53556 <p>mod_disco rocks, even though it'll always display even if the service is unavailable. Thanks again.</p> Mon, 15 Sep 2008 16:05:43 +0000 kurt comment 53556 at https://www.ejabberd.im MSN Transport https://www.ejabberd.im/node/3201#comment-53555 <p>I've just tried browsing for example.org services (where PyMSNt is resident) and I've found it and connected to it from my example.com account. I guess I was over complicating things a little although it would be nice to have the services listed for each vhost. Just means a few more instructions on the how to page :P </p> <p>Thanks again for you help.</p> Mon, 15 Sep 2008 15:41:34 +0000 kurt comment 53555 at https://www.ejabberd.im Firstly thanks for the reply https://www.ejabberd.im/node/3201#comment-53553 <p>Firstly thanks for the reply I'll give your suggestions a go this evening. </p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>I imagine each pymsnt instance needs to run in a different port. And you need to configure a different port in ejabberd.cfg too, for each pymsnt.</p></div> <p>I tried that and it still wouldn't start the second instance. I believe there may be a few ports that are "MSN specific" that can't be changed. Some form of error reporting would be nice but I'll take that up with the py-transport people ( there may be some that I haven't enabled yet ).</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>Maybe PyMSNt doesn't support 'virtual hosts'.</p></div> <p>I have to say that is a little disappointing as I chose ejabberd for its vhost and clustering abilities. I can't really say that can I ... if I really wanted it I should write it myself. Just thought it was something that would already have been thought of. </p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>Because you didn't implement them! :D</p></div> <p>I think what I meant was is there a reason no one has yet? </p> <p>Again thanks for the answers, it appears I have few more things to try before rewriting the transports :P</p> <p>Regards,</p> <p>Kurt</p> Mon, 15 Sep 2008 09:52:36 +0000 kurt comment 53553 at https://www.ejabberd.im try extra_domains https://www.ejabberd.im/node/3201#comment-53550 <div class="quote-msg"> <div class="quote-author"><em>kurt</em> wrote:</div> <p>I have managed to get this working on one domain, however users on the other domains cannot see the MSN transport.</p></div> <p>The users in the other vhosts do not see the MSN transport when they open the Service Discovery of their vhosts. But if they enter the JID of the transport in the address bar (try with Psi or Gajim), they will see it, can register and use it.</p> <p>With that you only need 1 PyMSNt running.</p> <p>You have example.com and example.org. You installed PyMSNt and it serves the JID msnt.example.com. As you noticed, a user in example.org will not see the transport. But he can put this in the Service Discovery: msnt.example.com and he can register, etc.</p> <p>Even better: check the option 'extra_domains' of mod_disco: it will allow you to show msnt.example.com as a service for example.org users.</p> <div class="quote-msg"> <div class="quote-author"><em>kurt</em> wrote:</div> <p>Has anyone configured pymsnt for more than one domain? It may be as simple as adding the domains into config.xml but I can't find the documentation.</p></div> <p>Maybe PyMSNt doesn't support 'virtual hosts'.</p> <div class="quote-msg"> <div class="quote-author"><em>kurt</em> wrote:</div> <p>I've also tried configuring an instance for each vhost but I can only get one instance started at a time even though they have separate pid files.</p></div> <p>I imagine each pymsnt instance needs to run in a different port. And you need to configure a different port in ejabberd.cfg too, for each pymsnt.</p> <div class="quote-msg"> <div class="quote-author"><em>kurt</em> wrote:</div> <p>Please let me know if I should be posting this somewhere else.</p></div> <p>You can try in the py-transports mailing list, or in the JADMIN mailing list.</p> <div class="quote-msg"> <div class="quote-author"><em>kurt</em> wrote:</div> <p>why the transports aren't built into ejabberd</p></div> <p>Because you didn't implement them! :D</p> Fri, 12 Sep 2008 23:48:31 +0000 mfoss comment 53550 at https://www.ejabberd.im