Hi,
Le 13/03/2010 01:00, crusherdestroyer a écrit :
I have a couple of questions. I have it running on :6969 on my server
and it works great so far. Is it better to run it on a dedicated IP
using port :80 if I can?
This is better because if a user is connected to internet thru a
'coprporate network' (company, university, ...) there are many chances
he's got an acces thru a proxy which allows only HTTP (so port 80) and
HTTPS so port 443). That means such kind of user won't be able to access
the APE server if it's bound to a port like 6969, but it will work well
on the same APE bound to port 80.
If so, do I just need to change ape.conf to:
Server {
port = 80
daemon = yes
ip_listen = xxx.xxx.xxx.xxx
domain = auto
rlimit_nofile = 10000
pid_file = /var/run/aped.pid
}
and config.js to:
APE.Config.baseUrl = 'http://mysite.com/APE-JSF/'; //APE JSF
APE.Config.domain = 'mysite.com';
APE.Config.server = 'ape.mysite.com:80'; //APE server URL
I think the changes you spotted are ok.
Once this is done, just restart ape?
But If you have too another server running on the port 80 on the same
machine (say Apache for example), you'll have to configure the latter to
listen only on the other ip (yyy.yyy.yyy.yyy). This mainly means
replacing in the apache configuration the command(s) "Listen *:80"| |by
something like "Listen yyy.yyy.yyy.yyy:80" (there can be several to
change if you run multiple virtual hosts).
Nouk²
--
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/