Bonjour,

Niquel ! ça tourne en multi domaine !
@Nicolas : Merci pour cette super astuce.

A+
Tristan

On Jun 20, 7:15 pm, Nicolas Trani <[email protected]> wrote:
> 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 Montpellierhttp://www.weelya.comhttp://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