[JDEV] Separate configurations for virtual servers?
Tim Ferguson
tim.ferguson at cw.com
Wed Jan 31 11:59:16 CST 2001
Great, works like a charm!!!! Thank you. I didn't separate the logging yet,
so I will let you know when I get to that.
Tim Ferguson
Cable & Wireless
719-590-4100
-----Original Message-----
From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of David
Barth
Sent: Wednesday, January 31, 2001 7:46 AM
To: jdev at jabber.org
Subject: Re: [JDEV] Separate configurations for virtual servers?
Tim Ferguson a écrit :
[...]
> <service id=sessions>
> [remove the <host> tag that normally goes here]
> <service id='jsm_vhost_a'>
I doubt you can have a <service> inside another <service>.
I was thinking of two distinct services one after another, each one
loading jsm.so :
<service
id="jsm1">
<host>you first virtual domain</host>
<jsm xmlns="jabber:config:jsm">
etc...
</jsm>
<load main="jsm">
<jsm>./jsm/jsm.so</jsm>
<mod_echo>./jsm/jsm.so</mod_echo>
<mod_roster>./jsm/jsm.so</mod_roster>
<mod_time>./jsm/jsm.so</mod_time>
<mod_vcard>./jsm/jsm.so</mod_vcard>
<mod_last>./jsm/jsm.so</mod_last>
<mod_version>./jsm/jsm.so</mod_version>
<mod_announce>./jsm/jsm.so</mod_announce>
<mod_agents>./jsm/jsm.so</mod_agents>
<mod_browse>./jsm/jsm.so</mod_browse>
<mod_admin>./jsm/jsm.so</mod_admin>
<mod_filter>./jsm/jsm.so</mod_filter>
etc...
</load>
</service>
Then repeat the same config lines with a service id='jsm2' and another
<host> tag filtering messages for another virtual domain.
--
dbarth
_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list