Bonjour,

actuellement le cross domain n'est possible que avec le JSONP (APE.Config.transport = 2). Il est quand même possible de faire un "hack" en utilisant APE.Config.domain = "auto" et faire de même pour la valeur domain du fichier ape.conf et redémarrer le serveur.

Par contre avec ce mode de fonctionnement, il faut que tous les domaines ou le JSF est utilisé doivent avoir leur DNS correctement configuré (*.ape.domain.com)

Cheers.

On 16/06/2011 10:14, tristan wrote:
Bonjour,

Je souhaiterais avoir un seul serveur APE, et que plusieurs domaines
s'y connectent, sans utiliser le "cross_domain".

Config 1
-----------------------
APE.Config.baseUrl = 'domain1/APE_JSF'; //APE JSF
APE.Config.domain = 'ape.domain1';
APE.Config.server = 'ape.domain1:6969'; //APE server URL

++ Config 2
-----------------------
APE.Config.baseUrl = 'domain2/APE_JSF'; //APE JSF
APE.Config.domain = 'ape.domain2';
APE.Config.server = 'ape.domain1:6969'; //APE server URL

Or lorsque je lance la 2e config, j'obtiens l'erreur :
-------------
document.domain mismatch client is ape.domain1 and server is
ape.domain2 value of domain for client and server must be the same.
Try with ape.domain1 for both
-------------

J'ai regardé vos scripts de Démo : 
http://www.ape-project.org/embed_demo/2/move%20demo.html

Comment faites-vous pour faire fonctionner cette config : (cross
domain ??)

APE.Config.baseUrl = 'http://static.weelya.com/weelya_ape/includes/tpl/
js/APE_JSF'; //APE JSF
APE.Config.domain = 'ape-project.org';
APE.Config.server = 'push.ape-project.org'; //APE server URL


Merci de votre réponse
Tristan






--
Nicolas Trani - Web engineer
Weelya - Improve the web
32 rue du faubourg boutonnet
34090 Montpellier
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/

Reply via email to