Hi,

I've installed APE Server on my laptop and checked the installation by 
running Demos (Chat, Controller, Move, Shoutbox) and Check page on Google 
Chrome, and everything works fine.

But if I do the same tests on Firefox, it doesn't work and if I look at JS 
console, I always get the same error "NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN: 
Illegal document.domain value"

For now, I'm testing APE locally (client and server on same computer), so :

   - I did not change ape.conf file
   - here is my Config.js file :

....................
/***

   - APE JSF Setup */

APE.Config.baseUrl = 'http://mydomain/ape_jsf'; //APE JSF 
APE.Config.domain = 'mydomain'; 
APE.Config.server = 'ape.mydomain:6969'; //APE server URL

[...]

.....................

   - here is my /etc/hosts file :

....................
127.0.0.1 localhost

127.0.0.1 mydomain

127.0.0.1 ape.mydomain
127.0.0.1 0.ape.mydomain
127.0.0.1 1.ape.mydomain
127.0.0.1 2.ape.mydomain
127.0.0.1 3.ape.mydomain
127.0.0.1 4.ape.mydomain
127.0.0.1 5.ape.mydomain
127.0.0.1 6.ape.mydomain
127.0.0.1 7.ape.mydomain
127.0.0.1 8.ape.mydomain
127.0.0.1 9.ape.mydomain

// The following lines are desirable for IPv6 capable hosts

[...]
....................

Tools/Check page gives following log :

...................
Running test : Init
Running test : Loading Client
Running test : Loading config
Config values are :

identifier : ape
init : true
frequency : 0
scripts : 
http://mydomain/ape_jsf/Source/mootools-core.js,http://mydomain/ape_jsf/Source/Core/APE.js,http://mydomain/ape_jsf/Source/Core/Events.js,http://mydomain/ape_jsf/Source/Core/Core.js,http://mydomain/ape_jsf/Source/Pipe/Pipe.js,http://mydomain/ape_jsf/Source/Pipe/PipeProxy.js,http://mydomain/ape_jsf/Source/Pipe/PipeMulti.js,http://mydomain/ape_jsf/Source/Pipe/PipeSingle.js,http://mydomain/ape_jsf/Source/Request/Request.js,http://mydomain/ape_jsf/Source/Request/Request.Stack.js,http://mydomain/ape_jsf/Source/Request/Request.CycledStack.js,http://mydomain/ape_jsf/Source/Transport/Transport.longPolling.js,http://mydomain/ape_jsf/Source/Transport/Transport.SSE.js,http://mydomain/ape_jsf/Source/Transport/Transport.XHRStreaming.js,http://mydomain/ape_jsf/Source/Transport/Transport.JSONP.js,http://mydomain/ape_jsf/Source/Transport/Transport.WebSocket.js,http://mydomain/ape_jsf/Source/Core/Utility.js,http://mydomain/ape_jsf/Source/Core/JSON.js
baseUrl : http://mydomain/ape_jsf
domain : mydomain
server : mydomain:6969

Running test : Setting document.domain
Running test : Checking APE.Config.baseUrl
APE JSF Version 1.1
Running test : Contacting APE Server
domain = mydomain
Running test : Contacting APE Server (adding frequency)
Running test : Initializing APE Client
Can't load APE JSF
Something went wrong. If you can't fix it by yourself post a message on the 
newsgroups with the output below or join our IRC channel

...............

Can someone please help me ? It seems I'm not the first one having this 
kind of issue but did not find any solution

Thanks,

Fred

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

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to