Problem with JWchat and Openfire on login page

Ok, i read through many threads and am not sure how to fix my current problem.



var SITENAME = “openfirejwchat”;


name:“Openfire binding”,
description:“Openfire server binding for JWChat”,


<VirtualHost *>
ServerName openfirejwchat
DocumentRoot /usr/local/apache2/htdocs/jwchat-1.0

<Directory />
            Options FollowSymLinks
              AllowOverride All

<Directory “/usr/local/apache2/htdocs/jwchat-1.0”>
Options +MultiViews -Indexes

RewriteEngine on
RewriteRule /http-bind/ http://localhost/index.html [P]
AddDefaultCharset UTF-8
ProxyRequests On
ProxyPass /http-bind/
ProxyPass http-bind/
ProxyPass /http-bind/
ErrorLog /usr/local/apache2/logs/jwchat_log
LogLevel warn
ServerSignature Off

jwchat: index.html

Login <- changed from disabled to enabled so the Login button on the main page can be enabled.

So if I go to http://openfirejwchat/http-bind/ it takes me to the “Welcome to JWChat” page which is more or less stable. Here are some errors i saw on firefox error console when i LOADED the page:

Error: syntax error
Source File: http://openfirejwchat/http-bind/config.js
Line: 1
Source Code:

Error: syntax error
Source File: http://openfirejwchat/http-bind/browsercheck.js
Line: 1
Source Code:

Error: syntax error
Source File: http://openfirejwchat/http-bind/shared.js
Line: 1
Source Code:

Error: syntax error
Source File: http://openfirejwchat/http-bind/switchStyle.js
Line: 1
Source Code:

Error: SITENAME is not defined
Source File: http://openfirejwchat/http-bind/
Line: 249

Now after I inputted the username and password of existing user i got:

Error: DEFAULTRESOURCE is not defined
Source File: http://openfirejwchat/http-bind/?jid=admin&pass=password&res=&prio=10
Line: 113

AND the five errors from above.

I do not see any warnings/messages otherwise and openfire server doesn’t show any errors/warnings nor does Apache logs show any abnormality… i am not sure where to define the terms? am I suppose to hard code something? I ask because my setting is just like many others who got theirs working…

Openfire v 3.6.4

jwchat 1.0

apache 2.2

some help appreciated. thanks!

ok, so what happens is this:

the loginbutton and page looks clean and normal if i go to “http://localhost/index.html” BUT if I go through the http://openfirejwchat/http-bind/ the page has the login button disabled and it doesnt work… anyone know why?