Trying to make my JWChat connect in my openfire

I create the “redirect” by apache using :

<VirtualHost *>

ServerName jabber.example.com

DocumentRoot “C:/Arquivos de programas/Apache Software Foundation/Apache2.2/htdocs/chat”

<Directory “C:/Arquivos de programas/Apache Software Foundation/Apache2.2/htdocs/chat”>

Options +Indexes +MultiViews

</Directory>

AddDefaultCharset UTF-8

RewriteEngine on

RewriteLog “C:/Arquivos de programas/Apache Software Foundation/Apache2.2/rewrite.log”

RewriteRule http-bind/ http://192.168.0.15:8080/http-bind/

</VirtualHost>

But when i use “jabber.example.com” in my browser, nothing happen…

and if i put http://192.168.0.15:8080/http-bind/ directly… a screen open with this text:

HTTP ERROR: 404

NOT_FOUND

RequestURI=/http-bind/

Powered by

[

|jetty://]

What can i do? i dont know if the problem is the OpenFire or the client…

This error when i put the directly http point is normal?

Help me please, and sorry for the bad english. I’m Brazilian.

Thanks,

Eric Saboia.

percivall wrote:

RewriteRule http-bind/ http://192.168.0.15:8080/http-bind/

RewriteRule /http-bind/ http://192.168.0.15:8080/http-bind/ [P]

But when i use “jabber.example.com” in my browser, nothing happen…

You have to access by using

jabber.example.com/http-bind/

, but in JwChats configuration you put something like

var BACKENDS = [
          {
               name:"example",
               description:"HTTP Binding backend",
               httpbase:"/http-bind/",
               type:"binding",
               default_server:'jabber.example.com',
      servers_allowed:[http://jabber.example.com'|http://jabber.example.com']

Edit: please use the search function, there are many threads asking the same question, this doesn’t change over time.