Request handlers !

Hi !
I have a problem with my ejabberd configuration cause i don't manage to access http-bind service at http://server:5280/http-bind/.
So i try to compile again mod_http_bind.erl and saw that there is a warning :"Warning : behaviour(gen_mod) undefined".
I just would know if it could be related with that? or maybe it prevents request_handlers to work fine ?

{5280, ejabberd_http, [http_poll, web_admin, {request_handlers, [{["http-bind"], mod_http_bind}]}, {request_handlers, [{["hello"], mod_http_hello}]}]}

(even the mod_http_hello doesn't work at http://server:5280/hello/ )

Thanks for your help

Nicolas

That warning probably is not

That warning probably is not a problem.

Please note that the version of http-bind available on ejabberd-modules SVN is mean to be used with ejabberd SVN, not ejabberd 1.1.3 or older. And you must also add mod_http_bind to 'modules' section on ejabberd.cfg, not only on 'listen' section.

If you run ejabberd 1.1.3, you must use an older version of the module.

Also note that mod_http_hello is just an example module, did you compile, install and enable it on ejabberd.cfg? If not, then obviously the hello/ page will not be available.

If you already take care of all this, and http-bind does not work for you, then it may be another problem. Post another comment with your positive or negative results.

Syndicate content