I'm having problems getting mod_http_pre_bind to work. I've been unsuccessful in my attempts to contact the author(s), but the source is here:
The problem I get is that GET requests (handled by mod_http_pre_bind) return the proper status message but POST requests (handled by ejabberd_http_pre_bind) give an empty response (no HTTP headers or body).
When compiling I get the following warnings, which I assume are indicative of the problem (especially because ejabberd_http_pre_bind seems to be the one with issues):
[root@boxie Mod-Http-Pre-Bind]# ./build.sh Recompile: src/web/ejabberd_http_pre_bind src/web/ejabberd_http_pre_bind.erl:9: Warning: undefined callback function handle_event/3 (behaviour 'gen_fsm') src/web/ejabberd_http_pre_bind.erl:9: Warning: undefined callback function handle_info/3 (behaviour 'gen_fsm') src/web/ejabberd_http_pre_bind.erl:9: Warning: undefined callback function handle_sync_event/4 (behaviour 'gen_fsm') src/web/ejabberd_http_pre_bind.erl:9: Warning: undefined callback function init/1 (behaviour 'gen_fsm') src/web/ejabberd_http_pre_bind.erl:9: Warning: undefined callback function terminate/3 (behaviour 'gen_fsm') Recompile: src/web/mod_http_pre_bind src/web/mod_http_pre_bind.erl:17: Warning: behaviour gen_mod undefined
My experience with Erlang is limited, but these seem like library/export issues that I should be able to resolve myself? Alternatively, can somebody with a working setup compile the modules for me?
Hm, check paths? Otherwise
Hm, check paths?
Otherwise maybe take a look athttp://github.com/skeltoac/http_prebind ?