Hi, The url of your APE server is on the subdomain "be" so it can't work if you access to your website with the subdomain "fe" (cross domain policy limitation). The best way to solve your issue is to set the domain to "mydomain.com" it should work.
Regards. Regards. bitmatix wrote: > I have two different domains, first one for the "frontend" of the > chat, and second one for the "backend". Let's call them > "fe.mydomain.com" and "be.mydomain.com", and for the backend I have > the folloowing configuration: > > APE.Config.baseUrl = 'http://be.mydomain.com/scripts/ape/ape-jsf'; > APE.Config.domain = 'auto'; > APE.Config.server = 'be.mydomain.com:6969'; > > on be.mydomain.com works everything as expected, but I want to use the > same JS files on fe.mydomain.com (or even some other websites), > without installing APE-Server on the machine which is > "fe.mydomain.com" on. I have builded a js-file, which loads all > required files, but I always get an exception > > [Exception... "Illegal document.domain value" code: "1009" nsresult: > "0x805303f1 (NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN)" location: "http:// > 11.be.mydomain.com:6969/?[{%22cmd%22:%22script%22,%22params%22: > {%22domain%22:%22fe.mydomain.com%22,%22scripts%22:[%22http:// > be.mydomain.com/scripts/ape/ape-jsf/Build/uncompressed/ > apeCoreSession.js%22]}}] Line: 4"] > > What do I have to configure, to get this work? > > -- Nicolas Trani - Web engineer Weelya - Improve the web 32 rue du faubourg boutonnet 34090 Montpellier Tel: 04 67 169 778 - Fax: 09 57 91 99 91 http://www.weelya.com http://www.ape-project.org -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
