Hello to everyone!

I installed an APE server from the .deb package and configured it on a
server in my local net and set up all parameters as follows:

- In /etc/hosts I wrote:

<MY_LOCAL_IP_ADDRESS> ape-server.local
<MY_LOCAL_IP_ADDRESS> ape.ape-server.local
<MY_LOCAL_IP_ADDRESS> 0.ape-server.local
<MY_LOCAL_IP_ADDRESS> 1.ape-server.local
<MY_LOCAL_IP_ADDRESS> 2.ape-server.local

- my ape.conf looks like this:

uid {
        # "aped" switch to this user/group if it run as root
        user = www-data
        group = www-data
}

Server {
        port = 6969
        daemon = yes
        ip_listen = <MY_LOCAL_IP_ADDRESS>
        ip_local = <MY_LOCAL_IP_ADDRESS>
        domain = ape-server.local
        rlimit_nofile = 65536
        pid_file = /var/run/aped.pid
}

Log {
        debug = 5
        use_syslog = 0
        syslog_facility = local2
        logfile = /var/log/ape.log
}

JSONP {
        eval_func = Ape.transport.read
        allowed = 1
}

Config {
#relative to ape.conf
        modules = /usr/lib/ape/
        modules_conf = /etc/ape/
}



- my parameters in ~/APE_JSF/Demos/config.js looks like this:

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

Now, if I run the tests from my local browser everything works.

My question is: is it possible to configure APE to be reachable from
an arbitrary net without a DNS service and without configure the
"ape-server.local" name resolution by hand (for example in /etc/
hosts)? For example, is it possible to refer to the APE framework by
IP address?

Thank you all, have a nice day

Alberto

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