Hi,
I'm trying to test mod_http_fileserver on windows XP.
I'm following this tutorial: http://www.ejabberd.im/jwchat-localserver
but can`t run a test index.html file.
My code:
{listen,
[
...
{5280, ejabberd_http, [
{request_handlers, [
{["web"], mod_http_fileserver}
]},
http_bind,
http_poll,
web_admin
]}
]}.
{modules,
[
...
{mod_http_bind, []},
{mod_http_fileserver, [
{docroot, "c:\test"}
]}
]}.
I've created a folder at c:\test and created index.html file inside it.
I'm trying to access
What do I do wrong?
Thanks
I've found this
I've found this post:
http://www.process-one.net/en/forum/viewthread/27/
It says to add two files from erlang:
\erl5.5.4\lib\inets-4.7.11\ebin\http_util.beam
\erl5.5.4\lib\inets-4.7.11\src\http_util.erl
to
lib\ejabberd\ebin\
and it works.
Is this a bug?
Do I need to report it?
Where can I report it?
Thanks
Reported
Thanks, I'll inform about the problem, so that file is included in the next version of the installer. Maybe also the Linux and Mac installers need to be updated.
How did you install mod_http_fileserver?
Old versions of mod_http_fileserver required http_util. The new version available in ejabberd-module SVN, which is also included in ejabberd 2.0.0-beta1 does not require http_util. I tried ejabberd 2.0.0-beta1, and it works correctly.
Where did you download, or how did you install mod_http_fileserver?
I'm using the updated
I'm using the updated installer for windows xp ejabberd 2.0.0 beta1.
I deleted http_util and now it works.
I might got confused.
Thanks