From owner-freebsd-questions@FreeBSD.ORG Tue May 16 03:39: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 0508316A428 for ; Tue, 16 May 2006 03:39:07 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B50D43D49 for ; Tue, 16 May 2006 03:39:06 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.4/8.13.1) with ESMTP id k4G3d3SP004543; Mon, 15 May 2006 20:39:04 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.4/8.13.1/Submit) id k4G3d2F8004542; Mon, 15 May 2006 20:39:02 -0700 (PDT) (envelope-from kline) Date: Mon, 15 May 2006 20:39:01 -0700 From: Gary Kline To: Jason Garrett Message-ID: <20060516033901.GA4484@thought.org> References: <20060515185851.GA1057@thought.org> <970380130605151429w59369913h66f8a01d4951d6e8@mail.gmail.com> <20060516013802.GA3841@thought.org> <970380130605152004n7d7383a2tfbc1c9266276ae4e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <970380130605152004n7d7383a2tfbc1c9266276ae4e@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 19++ years of service to the Unix community Cc: Gary Kline , 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:39:07 -0000 On Mon, May 15, 2006 at 10:04:28PM -0500, Jason Garrett wrote: > 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-im) > >> > 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 quite > >> > 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 = "bogus.tld" > var DEFAULTRESOURCE = "jwchat"; > > > > var BACKENDS = > [ > { > 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. I'd appreciate it if anyone who knew the diffs between apache 1.3 and 2.x could add to this. I have close to your httpd.conf entry excep that I have localhost instead of sage.thought.org; that may explain something. The trouble I was having over the weekend, still is happening. When I point my broswer athe the JWChat stuff, I get popups that announce their abortion. One is: "JID is missing...\nAborting". Thought I'd resolved this, but not: rats! Thanks for your examples; I'll add your "RewriteRule...." stuff and see if "the Fates" smile ...... gary > > Jason > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Gary Kline kline@thought.org www.thought.org Public service Unix