From owner-freebsd-questions@FreeBSD.ORG Tue May 16 03:11:07 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFEB316A527 for ; Tue, 16 May 2006 03:11:06 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCDDE43D48 for ; Tue, 16 May 2006 03:11:05 +0000 (GMT) (envelope-from kingedgar@gmail.com) Received: by py-out-1112.google.com with SMTP id e30so1254034pya for ; Mon, 15 May 2006 20:11:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CXWXVqWZzfx+cfNwxfbbEnpZVWWkkQ7t/98oAtE5KNqJ0HPERidQDbgwGQ/kctHtj9ngQbl/V2hh6QlUNbwpUAaW+4Bf3THhLh7R5/Zeu6KZZT9boKZgcI7mAgvYXcBspPx7/s2atLj5fB/jYz0T6Vs4M2HOj3d9lN453noiUzc= Received: by 10.35.107.20 with SMTP id j20mr641407pym; Mon, 15 May 2006 20:04:28 -0700 (PDT) Received: by 10.35.44.18 with HTTP; Mon, 15 May 2006 20:04:28 -0700 (PDT) Message-ID: <970380130605152004n7d7383a2tfbc1c9266276ae4e@mail.gmail.com> Date: Mon, 15 May 2006 22:04:28 -0500 From: "Jason Garrett" To: "Gary Kline" In-Reply-To: <20060516013802.GA3841@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060515185851.GA1057@thought.org> <970380130605151429w59369913h66f8a01d4951d6e8@mail.gmail.com> <20060516013802.GA3841@thought.org> Cc: FreeBSD Mailing List Subject: Re: jwchat. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 03:11:15 -0000 On 5/15/06, Gary Kline wrote: > On Mon, May 15, 2006 at 04:29:12PM -0500, Jason Garrett wrote: > > On 5/15/06, Gary Kline wrote: > > > > > > Can anybody offer some insights about an IM suite (ports/net-i= m) > > > called jwchat? It looks like a useable way to chat, but I'm > > > having lots of troubles wiht getting it set up correctly. > > > > > > My test setup is on sage.thought.org. An immediate problem is= that > > > when I point mozilla at "sage.thought.org/jwchat/ it takes qui= te > > > awhile to load, then all that shows is an empty page. > > > > > > Anybody?? > > > > > > gary > > > > > > PS: From looking at the apache logs, it looks like things are > > > going > > > > http://jwchat.sourceforge.net is where I started from and had a > > succesful install within a day or so. It took some crafty apache > > config sections but all in all it wasnt bad. Make sure you have a > > jabber server though! > > Are you running apache-1.3? I am, but the examples the jwchat > site has are for v2 of apache. I finally used the > example, put it into the apache httpd.conf and I finally > stopped getting a 404 err. > > The jabber daemon:: *yes*. A few hours ago I found the FAQ > pages on the ejabberd site and realized I needed not only to > add/modify several strings but uncomment them. "%" isn't > normally used as a comment token. > > JWchat looks like it'll serve well ... if I ever get the > bloody thing set up! > > thanks for your help, > > gary > > PS: the chap who was helping me via message board has to think > i'm a moron ... won't be the 1st time:-) Gary, I am using apache 2.x. I have only used apache 1.3 one time and am unsure of syntax/module differences, however I will post my relevant parts of httpd.conf and config.js Apache: ServerName chat.bogus.tld DocumentRoot /usr/local/www/jwchat Options +Indexes +Multiviews AddDefaultCharset UTF-8 RewriteEngine on RewriteRule http-poll/ http://bogus.tld:5280/http-poll/ [P] Please note that here I had trouble while the jabber server and jwchat were resolving to the same domain, ex bogus.tld. They have to be seperate, at least from what I have tried. /usr/local/www/jwchat/config.js var SITENAME =3D "bogus.tld" var DEFAULTRESOURCE =3D "jwchat"; var BACKENDS =3D [ { name:"Ejabberd", description:"Ejabberd's native HTTP Polling backend= ", httpbase:"http-poll/", type:"polling", servers_allowed:[SITENAME] }, ]; I hope this sheds some light, even though I am using apache 2.x. Also I had to have mod_rewrite and mod_proxy compiled in and enabled, not sure on how to do this with apache 1.3, maybe someone more familiar with 1.3 can chime in on those modules. Jason