Flexion.Org
Bad grammar and typos for total strangers
Wiki › Jabber Chat
Wiki Index All Recent Edit Bottom

Jabber Chat

1.   Introduction
2.   Installing JWChat
2.1   Configure JWChat
2.2   Redirect to ejabberd

Introduction

Having a Jabber server is great, but I wanted a way to be able to access it from anywhere. [http://jwchat.sourceforge.net/][JWChat]] seems to be the solution.

Installing JWChat

 wget http://prdownloads.sourceforge.net/jwchat/jwchat-1.0beta3.tar.gz?download
 tar zxvf jwchat-1.0beta3.tar.gz
 cp -R jwchat-1.0beta3/* /home/virtual/jabber.flexion.org/public_html/

Configure JWChat

Since only a translation can be used, decide which language you prefer and rename files accordingly. For example, to put English translation, rename all the ".en" files:

 cd /home/virtual/jabber.flexion.org/public_html/
 for a in $(ls *.en); do b=${a%.en}; cp $a $b; done
 chown -R www-data:www-data *

Redirect to ejabberd

First we need to make sure that we redirect http-poll to the ejabberd server.

 nano lighttpd-custom.conf

Add the following.

 url.redirect = (
     "^/http-poll"  => "http://flexion.org:5280/http-poll/"
 )

 http-poll/ http://127.0.0.1:5280/http-poll/

References

$Id: JabberChat,v 1.8 2008/01/10 17:23:25 martin Exp $

Wiki Index All Recent Edit Top
 
Valid XHTML Valid CSS Hacker