I have an xmpp server (Openfire) in my local PC. I made a javascript chat client on my hosted website that is connecting to my openfire server. So this is a live chat support. It works perfectly in every browser except all versions of Internet Explorer. I got the following error: Can't find "http://www.heavenlypictures.hu" origin in Access-Control-Allow-Origin header. In openfire I enabled access from all domains, and I have the following cross domain policy:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" to-ports="5222,5223,7070,7443" secure="true"/>
</cross-domain-policy>
I'm using JQUERY post and AJAX requests for connect to the xmpp server.
What is the problem? Why IE can't access?
You can try it here: http://www.heavenlypictures.hu/contact/chat/chat.php