[jadmin] How to serve crossdomain.
Graham King
graham at gkgk.org
Wed Feb 13 10:04:22 CST 2008
I'm pretty sure it doesn't need to be on the same port. It either
needs to be on port 80 of the domain your SWF came from, served by
HTTP, or any other port where it gets requested using the xmlsocket
protocol. For example Openfire provides one for you on 5229, whereas
by 'the same port' I presume you mean 5222 (XMPP client-to-server
port).
If I may be so bold as to reference my own blog, there is more detail here:
http://www.darkcoding.net/software/xmpp-in-your-browser-flex-2-with-xiff/
Your SWF will have to come from somewhere, so just drop your
crossdomain.xml in the root of that server, and you're set.
On 12/02/2008, Unai Rodriguez <me at u-journal.org> wrote:
> Dear all,
>
> We are developing a FLASH application that will connect to an EJABBERD
> server.
>
> I need to serve a plain text file (aka crossdomain.xml) on the same port
> as ejabberd is listening for client connections.
>
> Is there a way to do this?
>
> thanks,
> unai
> _______________________________________________
> JAdmin mailing list
> JAdmin at jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________
>
More information about the JAdmin
mailing list