[ejabberd] serve crossdomain.xml from root folder

Michael Holm hollo at hollo.dk
Wed Dec 19 18:43:41 MSK 2012


I have an issue with connection from flash, here i need the file

I can get this to work.. but that make it impossible for me to serve the
http-bind .. are there anyway to serve a file from the root folder, and
still have access to the /admin and /http-bind applications?

here is my config:

  {5280, ejabberd_http, [
                         {request_handlers, [
                                {[], mod_http_fileserver}


  {mod_http_fileserver, [
    {docroot, "/opt/ejabberd-2.1.11/www"},
    {accesslog, "/opt/ejabberd-2.1.11/www/webaccess.log"},
    {content_types, [{".xml", "text/xml"}]}
    %%{directory_indices, ["index.html", "index.htm"]}

i dont see how i can make this to work.. any help? i have read a bunch of
posts about the topic, but nothing works.. :/

Best regards,
Michael Holm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20121219/c6295593/attachment.html>

More information about the ejabberd mailing list