set proxy in apache for XMPP chat
i want to setup a proxy settings in Apache to use Facebook XMPP Chat

so far i have setup ejabber server and i am able to access xmpp service using

http://mydomain.com:5280/xmpp-http-bind

i am able to create Jabber Account too.

Now as i want to integrate facebook XMPP chat , i want my server to sit in between client and chat.facebook.com because i want to implement facebook chat and custom chat too

so i have read [this][1] article and come to know that i need to serve BOSH Service as a proxy in apache to access Facebook Chat service.

so i dont know how to set up a proxy in a apache httpd.conf as i have tried following 

    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
    
    ProxyPass /xmpp-httpbind http://www.mydomain.com:5280/xmpp-http-bind
    ProxyPassReverse /xmpp-httpbind http://www.mydomain.com:5280/xmpp-http-bind 


But whenever i request **http://www.mydomain.com:5280/xmpp-http-bind** from strophe.js 
i am getting following response from server 

    <body type='terminate' condition='internal-server-error' xmlns='http://jabber.org/protocol/httpbind'>
       BOSH module not started
    </body>

and server log says following 

> E(<0.567.0>:ejabberd_http_bind:1239) : You are trying to use BOSH
> (HTTP Bind) in host "chat.facebook.com", but the module mod_http_bind
> is not started in that host. Configure your BOSH client to connect to
> the correct host, or add your desired host to the configuration, or
> check your 'modules' section in your ejabberd configuration file.

can anyone plz help me as since long  m stuck over here 


  [1]: http://blog.wolfspelz.de/2010/09/website-chat-made-easy-with-xmpp-and.html
set proxy in apache for XMPP chat
===

i want to setup a proxy settings in Apache to use Facebook XMPP Chat

so far i have setup ejabber server and i am able to access xmpp service using

http://mydomain.com:5280/xmpp-http-bind

i am able to create Jabber Account too.

Now as i want to integrate facebook XMPP chat , i want my server to sit in between client and chat.facebook.com because i want to implement facebook chat and custom chat too

so i have read [this][1] article and come to know that i need to serve BOSH Service as a proxy in apache to access Facebook Chat service.

so i dont know how to set up a proxy in a apache httpd.conf as i have tried following 

    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
    
    ProxyPass /xmpp-httpbind http://www.mydomain.com:5280/xmpp-http-bind
    ProxyPassReverse /xmpp-httpbind http://www.mydomain.com:5280/xmpp-http-bind 


But whenever i request **http://www.mydomain.com:5280/xmpp-http-bind** from strophe.js 
i am getting following response from server 

    <body type='terminate' condition='internal-server-error' xmlns='http://jabber.org/protocol/httpbind'>
       BOSH module not started
    </body>

and server log says following 

> E(<0.567.0>:ejabberd_http_bind:1239) : You are trying to use BOSH
> (HTTP Bind) in host "chat.facebook.com", but the module mod_http_bind
> is not started in that host. Configure your BOSH client to connect to
> the correct host, or add your desired host to the configuration, or
> check your 'modules' section in your ejabberd configuration file.

can anyone plz help me as since long  m stuck over here 


  [1]: http://blog.wolfspelz.de/2010/09/website-chat-made-easy-with-xmpp-and.html