[ejabberd] serve crossdomain.xml from root folder

Michael Holm hollo at hollo.dk
Fri Dec 21 14:12:20 MSK 2012


Hi,

Thanks.. it did not do anything.. well, the webserver works.. but the
problem is that when i set the http_fileserver to [], then connection to
everything goes to the file_server and the http-bind will be disabled. :/

So can i run the:

file_server on / and the
http-bind on /http-bind

?

Best regards,
Michael Holm


On Fri, Dec 21, 2012 at 7:59 AM, Anurag Srivastava <anurag.cs at gmail.com>wrote:

> 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
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20121221/90f7d624/attachment.html>


More information about the ejabberd mailing list