Yes, you MUST create a sub domain, there is no way around it unless you want to modify the 'C' code for the APE server to change the frequency stuff. It's fairly simple to create a sub-domain in Apache or LiteSpeed server to catch the ape.yourhost:6969 requests. I use Ubuntu 10.04 and it's a bit of a pain to set up but worth it when u get it to work. If your working on your home computer don't forget to add the frequencies in the /etc/hosts file (EG. my home computers host name is bigdog and my sub domain is ape.bigdog) :

192.168.0.196 ape.bigdog
192.168.0.196 ape.ape.bigdog
192.168.0.196 0.ape.bigdog
192.168.0.196 1.ape.bigdog
192.168.0.196 2.ape.bigdog
192.168.0.196 3.ape.bigdog

... I defined 80 frequencies, lol

... so my APE config looks like:

Server {
    port = 6969
    daemon = yes
    ip_listen = 0.0.0.0
    domain = ape.bigdog
    rlimit_nofile = 10000
    pid_file = /var/run/aped.pid
}

and my client APE javascript config looks like:

APE.Config.baseUrl = 'http://ape.bigdog/APE_JSF'; // APE JSF
APE.Config.domain = 'ape.bigdog';
APE.Config.server = 'ape.bigdog:6969'; // APE server URL
APE.Config.transport = 2;  # for cross domain access



On 07/22/2012 11:16 PM, Peter wrote:
Hi,

I'm trying to configure my APE server on Ubuntu 12.04, but am running into a problem when running the check tool. I get an error message
baseUrl : http://127.0.0.1/APE_JSF
domain : 127.0.0.1
server : 127.0.0.1:6969
Running test : Setting document.domain
Running test : Checking APE.Config.baseUrl
APE JSF Version 1.1
Running test : Contacting APE Server
domain = 127.0.0.1
Running test : Contacting APE Server (adding frequency)
Can't contact APE Server. Please check the folowing url is pointing to your APE server : http://0.127.0.0.1:6969

Is there a way to avoid this problem of putting a number before the 127.0.0.1?
--
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 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