Re: virtual hosts - how-to?

2009-05-25 Thread Tomasz Sterna

From: Jorge Salamero Sanz ben...@cauterized.net
I'd like to add support for virtualhosts in the next debian/ubuntu 
packages.
What do you think would be the best way ? Maybe something like apache2 
does ?


/etc/jabberd2/domains-available/
/etc/jabberd2/domains-enabled/ (with links to the dir before)


I gues it's the way to go.


Do you know if this virtual hosting is applicable to mu-conference ? 
Launching

different instances changing:

 nameconference.localhost/name !-- the jid of your component --
 hostconference.localhost/host !-- this should be the same as 
above --


Yes. But you need to start multiple muc binaries (with different configs).


--
Tomasz Sterna
Instant Messaging  EDI Consultant
Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/ 



--
To unsubscribe send a mail to jabberd2+unsubscr...@lists.xiaoka.com



Re: virtual hosts - how-to?

2009-05-24 Thread Jorge Salamero Sanz
On Sunday 24 May 2009 09:21:49 Tomasz Sterna wrote:
 Sou you probably have an /etc/init.d/jabberd wraper or something.
 Take a look at it. Maybe you could extend it to run more than one SM
 instance.

I'd like to add support for virtualhosts in the next debian/ubuntu packages.

What do you think would be the best way ? Maybe something like apache2 does ?

/etc/jabberd2/domains-available/
/etc/jabberd2/domains-enabled/ (with links to the dir before)

?

Do you know if this virtual hosting is applicable to mu-conference ? Launching 
different instances changing: 

  nameconference.localhost/name !-- the jid of your component --
  hostconference.localhost/host !-- this should be the same as above --




-- 
To unsubscribe send a mail to jabberd2+unsubscr...@lists.xiaoka.com



Re: virtual hosts - how-to?

2009-05-23 Thread Tomasz Sterna
Dnia 2009-05-23, sob o godzinie 20:58 +0200, Kai Karstens pisze:
 But there is no documentation on how/where to set up additional
 session manager instances.
 
 Any tips?

I guess you are using the jabberd wrapper that handles running all the
components.
You need to make a copy of the sm.xml, edit it and run another instance
of the sm process: /usr/local/bin/sm -c /etc/jabberd/sm2.xml

I usually run all jabberd2 components as svscan services, not using the
perl wrapper.


-- 
Tomasz Sterna
Instant Messaging  EDI Consultant
Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/


-- 
To unsubscribe send a mail to jabberd2+unsubscr...@lists.xiaoka.com



Re: virtual hosts - how-to?

2009-05-23 Thread Kai Karstens
  But there is no documentation on how/where to set up additional
  session manager instances.
  
  Any tips?
 
 I guess you are using the jabberd wrapper that handles running all the
 components.
 You need to make a copy of the sm.xml, edit it and run another instance
 of the sm process: /usr/local/bin/sm -c /etc/jabberd/sm2.xml
 
 I usually run all jabberd2 components as svscan services, not using the
 perl wrapper.

*Uh* I don't know if I am using a 'jabberd wrapper'. How do I find out? (I am 
using the apt-package in Ubuntu 8.10 server)

-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss 
für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02

-- 
To unsubscribe send a mail to jabberd2+unsubscr...@lists.xiaoka.com