After googling around for cases similar to mine, and asking Dreamhost
about wildcard DNS, I think my problem is that wildcard dns was not
enabled.

After this little adventure with APE, and reading up on other comet
implementations...I think I will be going back to node.js/socket.io
(was mucking around with them before I tried out comet).

Having tried both, I think there is more support and a larger
community for node/socket than for the various comet servers. Thanks
for your help and advice. I hope I am not making a mistake giving up
comet for websockets?

On Apr 24, 10:51 pm, Pablo Tejada <[email protected]> wrote:
> When i first started my search for a comet server i notice must were
> java based, memory hogs. CometD seem to be a popular favorite.
> Lighthttpd seems like a good comercial solution, not sure about their
> support though.
>
> Sent from my iPhone
>
> On Apr 24, 2012, at 5:14 PM, Orthonormal <[email protected]> wrote:
>
>
>
>
>
>
>
> > I have a feeling I need to contact Dreamhost support to allow wildcard
> > DNS on my VPS.
>
> > Or maybe I should abandon APE and try a comet server that is easier to
> > work with for newbies? :p
>
> > Since this is a commercial project, I don't mind paying for a
> > commercial comet server with support. Any good ones to recommend?
>
> > On Apr 24, 10:05 pm, Orthonormal <[email protected]> wrote:
> >> Am I right to assume that for "0.bob.dreamhosters.com:443" to work,
> >> Dreamhost has to allow "wildcard DNS"?
>
> >> Based on their support article (http://wiki.dreamhost.com/
> >> Wildcard_DNS), I might have to contact them to allow wildcard DNS. Is
> >> this a likely solution?
>
> >> On Apr 24, 9:55 pm, Pablo Tejada <[email protected]> wrote:
>
> >>> Is a server misconfiguration for sure, you should keep testing with
> >>> static content.
>
> >>> Is weird they recommend to bind it to the 443 port, isn't that the HTTPS 
> >>> port?
>
> >>> Sent from my iPhone
>
> >>> On Apr 24, 2012, at 4:46 PM, Orthonormal <[email protected]> wrote:
>
> >>>> Nope. I get: "Oops! Google Chrome could not find
> >>>> 0.bob.dreamhosters.com:443" (using chrome)
>
> >>>> On Apr 24, 9:43 pm, Louis Charette <[email protected]> wrote:
> >>>>> You said that if you go to "http://bob.dreamhosters.com:443/"; you get 
> >>>>> the "APE Server No command given" message. Do you have the same message 
> >>>>> when you type ":http://0.bob.dreamhosters.com:443"; in your browser?
>
> >>>>>   - Louis
>
> >>>>> Le 2012-04-24 à 16:40, Orthonormal a écrit :
>
> >>>>>> Still doesn't work! Same error message. My virtualhost looks like
> >>>>>> this:
>
> >>>>>> <VirtualHost *>
>
> >>>>>> Servername bob.dreamhosters.com
> >>>>>> ServerAlias ape.bob.dreamhosters.com
> >>>>>> ServerAlias *.bob.dreamhosters.com
>
> >>>>>> DocumentRoot "/home/alice/www"
>
> >>>>>> </VirtualHost>
>
> >>>>>> On Apr 24, 9:26 pm, Louis Charette <[email protected]> wrote:
> >>>>>>> If you have access to SSH, you can also restart apache2 instead of 
> >>>>>>> rebooting the whole server for the virtualhost setting to update.
>
> >>>>>>>   - Louis
>
> >>>>>>> Le 2012-04-24 à 16:25, Orthonormal a écrit :
>
> >>>>>>>> Ok I tried Pablo's virtualhost and it didn't work. Same error 
> >>>>>>>> message.
>
> >>>>>>>> AFK for 30-45 mins. Then trying Louis' method and change ServerAlias
> >>>>>>>> to *.bob.dreamhosters.com. Wish me luck lol.
>
> >>>>>>>> On Apr 24, 8:57 pm, Louis Charette <[email protected]> wrote:
> >>>>>>>>>> When I go to:http://bob.dreamhosters.com:443/, it says "APE Server 
> >>>>>>>>>> No
> >>>>>>>>>> command given.". So I assume the server is running fine?
>
> >>>>>>>>> Yes it does.
>
> >>>>>>>>> The test did find the server, but didn't find the frequency thing 
> >>>>>>>>> because the wildcard is binded to "ape.bob.dremhosters.com" instead 
> >>>>>>>>> of "bob.dreamhosters.com". Since he specified the port in config.js 
> >>>>>>>>> he should be fined and it should work after an apache reboot.
>
> >>>>>>>>>   - Louis
>
> >>>>>>>>> Le 2012-04-24 à 15:53, Pablo Tejada a écrit :
>
> >>>>>>>>>> The problem is your virtual host, the default port is 80 i guess 
> >>>>>>>>>> and you binded the APE server in 443. Try this virtual host 
> >>>>>>>>>> configuration, no sure if it will do the trick though:
> >>>>>>>>>> <VirtualHost *>
> >>>>>>>>>>        Servername bob.dreamhosters.com
>
> >>>>>>>>>>        DocumentRoot "/home/alice/www"
> >>>>>>>>>> </VirtualHost>
> >>>>>>>>>> <VirtualHost *:443>
> >>>>>>>>>>        Servername ape.bob.dreamhosters.com
> >>>>>>>>>>        ServerAlias *.ape.bob.dreamhosters.com
> >>>>>>>>>> </VirtualHost>
>
> >>>>>>>>>> Sent from my iPhone
>
> >>>>>>>>>> On Apr 24, 2012, at 3:28 PM, Louis Charette 
> >>>>>>>>>> <[email protected]> wrote:
>
> >>>>>>>>>>> Change
>
> >>>>>>>>>>>>> ServerAlias *.ape.bob.dreamhosters.com
>
> >>>>>>>>>>> to this
>
> >>>>>>>>>>>>> ServerAlias *.bob.dreamhosters.com
>
> >>>>>>>>>>>  - Louis
>
> >>>>>>>>>>> Le 2012-04-24 à 15:22, Orthonormal a écrit :
>
> >>>>>>>>>>>> I did this. And the check ran. But I got:
>
> >>>>>>>>>>>> "Can't contact APE Server. Please check the folowing url is 
> >>>>>>>>>>>> pointing
> >>>>>>>>>>>> to your APE server :http://0.bob.dreamhosters.com:443";
>
> >>>>>>>>>>>> On Apr 24, 8:00 pm, Louis Charette <[email protected]> 
> >>>>>>>>>>>> wrote:
> >>>>>>>>>>>>> Hi there,
>
> >>>>>>>>>>>>> The "APE_JSF" folder should be uploaded on the website you want 
> >>>>>>>>>>>>> to use Ape on directly.
>
> >>>>>>>>>>>>>  - Louis
>
> >>>>>>>>>>>>> Le 2012-04-24 à 14:57, Orthonormal a écrit :
>
> >>>>>>>>>>>>>> I signed up for VPS from Dreamhost, and is trying to set up 
> >>>>>>>>>>>>>> APE by
> >>>>>>>>>>>>>> following the tutorial. Which step did I go wrong? Did I leave 
> >>>>>>>>>>>>>> out any
> >>>>>>>>>>>>>> step?
>
> >>>>>>>>>>>>>> 1) It says:
>
> >>>>>>>>>>>>>> "If you are using APE in tandem with a web server which is 
> >>>>>>>>>>>>>> already
> >>>>>>>>>>>>>> bound on port 80 (such as Apache), you don't have to edit 
> >>>>>>>>>>>>>> anything.
> >>>>>>>>>>>>>> APE is configured to run on port 6969 by default.
> >>>>>>>>>>>>>> You can jump to Run your APE Server."
>
> >>>>>>>>>>>>>> However, I changed my ape.conf so that "port = 443" instead 
> >>>>>>>>>>>>>> because
> >>>>>>>>>>>>>> dreamhost recommends that we bind on port 443.
>
> >>>>>>>>>>>>>> 2) Went to the /bin/ folder and ran "aped". I get the APE 
> >>>>>>>>>>>>>> Engine logo
> >>>>>>>>>>>>>> and it says bind on port 443. So no problem there.
>
> >>>>>>>>>>>>>> 3) Edited the httpd.conf file to include these:
>
> >>>>>>>>>>>>>> <VirtualHost *>
> >>>>>>>>>>>>>>       Servername bob.dreamhosters.com
> >>>>>>>>>>>>>>       ServerAlias ape.bob.dreamhosters.com
> >>>>>>>>>>>>>>       ServerAlias *.ape.bob.dreamhosters.com
>
> >>>>>>>>>>>>>>       DocumentRoot "/home/alice/APE_JSF"
> >>>>>>>>>>>>>> </VirtualHost>
>
> >>>>>>>>>>>>>> Not using the actual names but assuming my admin user name is 
> >>>>>>>>>>>>>> "alice",
> >>>>>>>>>>>>>> and my dreamhost domain is bob.dreamhosters.com.
>
> >>>>>>>>>>>>>> 4) Edited Demos/config.js to be:
>
> >>>>>>>>>>>>>> APE.Config.baseUrl = 'http://bob.dreamhosters.com/APE_JSF';
> >>>>>>>>>>>>>> APE.Config.domain = 'bob.dreamhosters.com';
> >>>>>>>>>>>>>> APE.Config.server = 'ape.bob.dreamhosters.com:443';
>
> >>>>>>>>>>>>>> 5) Finally, I went 
> >>>>>>>>>>>>>> tohttp://bob.dreamhosters.com/APE_JSF/Tools/Check/
> >>>>>>>>>>>>>> but got a 404 error. Even after I rebooted my VPS.
>
> >>>>>>>>>>>>>> What did I miss out or did wrong?
>
> >>>>>>>>>>>>>> --
> >>>>>>>>>>>>>> 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/
>
> >>>>>>>>>>> --
> >>>>>>>>>>> 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/
>
> >>>>>>>> --
> >>>>>>>> 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...
>
> read more »

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