Setting up http bind for strophe, but just get a 404 :(

Hi Guys,

I've added these to /etc/ejabberd/ejabberd.cfg

----------- in listening ports:

{5280, ejabberd_http, [

{request_handlers, [
{["web"], mod_http_fileserver}
]},

http_bind,
http_poll,
web_admin
]}

---------- in modules:

{mod_http_bind, []},
{mod_http_fileserver, [
{docroot, "/var/lib/ejabberd/www"},
{accesslog, "/var/log/ejabberd/webaccess.log"}
]},

----------------

I then restarted ejabberd, but when strophe (loaded from same domain) tries to access http://mydomain.com:5280/ it just gets a 404.

I'm quite new to server management, so maybe there's something else I need to change to connect that port to ejabberd, but I was able to connect to it with my phone on 5222 without doing anything else.

Any suggestions?

Thanks :)

Try to access the URL:

Try to access the URL: http://mydomain.com:5280/web/

Syndicate content