Jwchat - openfire integration

I am trying to integrate jwchat with openfire and facing few issues. I have seen many threads around the same issue but has not found the solution. Couple of issues I have

  1. When I login from jwchat, I get javascript that’ not able to connect to service’. Below is my configuration in httpd.conf file.
ServerName jwchat.mycompany..com DocumentRoot /var/www/jwchat/web Options +Indexes +Multiviews AddDefaultCharset UTF-8 RewriteEngine On RewriteLogLevel 3 RewriteLog logs/rewrite_log RewriteRule ^/http-bind/$ http://localhost:7070/http-bind [P]

config.js entry is

var SITENAME = “jwchat.mycompany.com”;

var BACKENDS =
[
{
name:“Open Relay”,
description:“HTTP Binding backend that allows connecting to any jabber server”,
httpbase:“http-bind/”,
type:“binding”,
default_server: SITENAME
}
];

Redirect rules seems to be kicking in fine as I could see redirection in the apache rewrite logs.

  1. When I directly acces the url http://localhost:7070/http-bind, I get

HTTP ERROR: 400

BAD_REQUEST

RequestURI=/http-bind/

Powered by Jetty://

Is it fine? Shouldn’t jetty return me some valid http 200 status output? Is my openfire configuration correct?

Any help would be appreciated.