I'm trying to setup Ajax Push Engine (http://ape-project.org) on a CentOS server. I've installed the APE Server and verified that it is running correctly. I setup a subdomain on a separate IP, but I still can't get the javascript to connect. I think I am setting up the virtual host incorrectly, but I'm not completely sure.
<VirtualHost *>
Servername domain.com
ServerAlias ape.domain.com
ServerAlias *.ape.domain.com
DocumentRoot "/home/domain/public_html/ape/"
</VirtualHost>
The DocumentRoot is what is confusing me. If ape.domain.com is supposed to point to the APE Server at port 443, what would the DocumentRoot be? I have it set to the folder that stores the JS, but it just shows those files in the browser when I try to connect. I tried changing httpd.conf's "Listen" to just the IP of the site and no the IP of the subdomain, but I still didn't see any difference, and this caused httpd to crash about every 30 seconds. I'm hoping I am just making some obvious mistake that I am overlooking.