[ejabberd] serve crossdomain.xml from root folder

Anurag Srivastava anurag.cs at gmail.com
Fri Dec 21 10:59:10 MSK 2012


Hello Michael,

In place of mod_http_bind, try with http_bind

Regards,
Anurag


On Wed, Dec 19, 2012 at 2:43 PM, Michael Holm <hollo at hollo.dk> wrote:

> Hi,
>
> I have an issue with connection from flash, here i need the file
> http://jabber:5280/crossdomain.xml..
>
> 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, [
>                          %%captcha,
>                          web_admin,
>                          mod_http_bind,
>                          http_poll,
>                          {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
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>


-- 
Anurag Srivastava
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20121221/03427b51/attachment.html>


More information about the ejabberd mailing list