http-bind !!!

Я не знаю в чём дело, а именно почему все молчат, но
смею предположить, что у всех кто пользуется mod_http_bind модулем,
он работает?

Люди! Ну неужели это так?

=================

I don't know what is wrong, i mean why it's so silent, but
I can guess, that each who use mod_http_bind module run it successfully?

People! So am I right really?

HTTP-BIND WITH APACHE PROXY PASS 502 RESPONSE ERROR

I have downloaded the latest ejaberrd 2.0 beta version and trying to use the http-bind using Apache proxypass module, but not able to do successful handshake. Following is my configuration

Apache 2.2.6 (running on Windows XP)
====================================
#module enabled
...
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

#enable proxy pass
...
ProxyPass /http-bind/ http://localhost:5280/http-bind/

Ejabberd 2.0.0 beta
===================
...
{5280, ejabberd_http, [
http_bind,
http_poll,
web_admin
]}

Using javascript Ajax call, I try to pass the following xml packet in the HTTP POST call

POST value
===========

Ajax Response : 502 Proxy error
==============

502 Proxy Error

Proxy Error

The proxy server received an invalid

response from an upstream server.

The proxy server could not handle the request POST /http-bind/.

Reason: Error reading from remote server

-->

But directly typing http://ejaberdserver:5280/http-bind/ on the browser the return would be as follows

Ejabberd mod_http_bind v1.2

An implementation of XMPP over BOSH (XEP-0206)

0 sessions found.

Sponsored by mabber.

This clearly says that http-bind is working fine and no ejabberd installation issue. I'm not sure whether http-bind with proxypass has be tested or do I miss something to configure.

Looking forward the reply and thanks in advance

Oh!!! its silly mistake,

Oh!!! its silly mistake, forgot to include mod_http_bind module

Re: Oh!!! its silly mistake

Don't sweat it : you are not the only one...

And thanks for your post : enabling the mod_http_bind module is the last step that separated me from a working jwchat/ejabberd setup !

How did you install this?!I

How did you install this?!

I added these lines to my config, but it appears to break everything...

Under modules:
{mod_http_bind,[]},

Under listen:
{5280, ejabberd_http, [
http_poll,
web_admin,
{request_handlers, [{["http-bind"], mod_http_bind}]}]},
]}

I created an ebin directory under /etc/ejabberd/ that has the beam files.

> I created an ebin directory

> I created an ebin directory under /etc/ejabberd/ that has the beam files.

Copy any additional beam files to the same ejabberd directory that contains all the other beam files, so ejabberd can find them like all the other beam files.

Http-BIN the Eternal Problem

Really I not uderstand after many day around.

I can install Jwchat inside of http-bind and work. But Never work with the normal Apache.

I install all the mod proxy in Apache and also activate old

I can make
ProxyPass /http-bind/ http://localhost:5280/http-bind/

order deny,allow
allow from all

and the URL WORK also if I make any redirect. This means apache proxy is working
But If I try to use Jwchat and redirect to http-bind I get in apache 2.0 logs

[Fri May 14 18:00:29 2010] [notice] Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch proxy_html/3.0.0 configured -- resuming normal operations
Error: client denied by server configuration: proxy:http://127.0.0.1:5280/http-bind/, referer: http://localhost/jwchat/jwchat.htm

Any idea how solve the problem. I use Ubuntu Hardy and Webmin

Syndicate content