The issue here is not APE so much as how web browsers implement security.
You should be able to make this work if you use an XHR-based transport, but
the default JSONP stuff will not work.

Wes

On 16 June 2011 04:27, tristan <[email protected]> wrote:

> Hi,
>
> I would to install one single APE Server on domain1, and so others
> domains could connect to it, without using the cross domain trick,
> which makes APE slower.
>
> Here are the config files I'd like to implement :
>
> 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
>
> The problem occurs when I launch a test with the 2nd configuration, I
> get the following error :
> -------------
> 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
> -------------
>
> I try to fix this issue and I found your demo script :
>
> http://www.ape-project.org/embed_demo/2/move%20demo.html
>
> How do you manage to make this config works : (through 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
>
>
> Thanks for any help
> Tristan
>
> --
> 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/
>



-- 
Wesley W. Garland
Director, Product Development
PageMail, Inc.
+1 613 542 2787 x 102

-- 
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