Hi all, nvm, everything works now. the connection got aborted because of my router setting. Basically the only setting in /etc/ape/ape.conf and the ApeClientJS.js matters (depending on how you load the JavaScript)
thanks! Yuhan On Fri, Apr 29, 2011 at 1:23 AM, Yuhan Zhang <[email protected]> wrote: > hmm, the request to http://0.ape.mysite.com:6969/ is aborted but > the request to http://0.ape.local.ape-project.org:6969/ is still active. > I'm wondering where else it was set.. > > Yuhan > > > On Fri, Apr 29, 2011 at 1:17 AM, Yuhan Zhang <[email protected]> wrote: > >> hmm, >> >> I found that I installed two copies of APE, one from the debian package, >> one from a .tar file. that's why there are so many ape.conf files... >> >> Also, under Build/uncompressed/ApeClientJS.js, there is another >> APE.Config.baseUrl to be set. >> >> However, http://0.ape.mysite.com:6969/? still aborts the request.. >> >> Yuhan >> >> >> On Thu, Apr 28, 2011 at 11:39 PM, Yuhan Zhang <[email protected]> wrote: >> >>> Hi all, >>> >>> I was able to configure ape to run locally, with >>> local.ape-project.orgsetting, >>> but having trouble when binding it to a real domain. could anybody help >>> me? >>> >>> I think my dns, firewall and virtual host settings are correct, as I saw >>> requests came >>> through once: http://1.ape.mysite.com:6969/? , (however, after I >>> adjusted >>> some settings it starts to be aborted) and I am able to get the .js files >>> from >>> the domain.) >>> >>> I mostly changed the 4 files: one Demo/config.js and 3 ape.conf files: >>> /etc/ape/ape.conf, ~/ape-home/conf/ape.conf and >>> ~/ape-home/bin/ape.conf. >>> (and apache/conf/httpd.conf for virtual host) which one of the 3 conf >>> files >>> overrides the others? are there other files to look at? >>> >>> I kept getting error on "Checking APE.Config.baseUrl", yet it is set >>> properly. >>> But the error seems trivial since it is still present even when running >>> successfully >>> with local.ape-project.org. >>> >>> no luck with either domain=auto nor domain=mysite.com. looks like I am >>> not >>> setting ip_local when running locally. (what should this value be? my >>> external ip?) >>> >>> my setting in config.js is set to use 'auto' but no luck either: >>> >>> APE.Config.baseUrl = 'http://mysite.com/ape-jsf'; //APE JSF >>> APE.Config.domain = 'auto'; >>> //APE.Config.domain = 'mysite.com'; >>> APE.Config.server = 'ape.mysite.com:6969'; //APE server URL >>> >>> >>> Could anybody send a successful setting of these 4 files as an example >>> for me to follow? >>> >>> Thank you. >>> >>> Yuhan >>> >>> >> > -- 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/
