As a side note, i would not recommend to put any plain-http service on
the port 443 !
443 is the default for HTTPS and doing so will confuse some browsers/
persons and lead to surprises.

Listen on 80, 8080 if you're not root, reverse proxy if you need it,
but don't listen on 443 only to pass the firewall.

On 7 jan, 16:42, james33 <[email protected]> wrote:
> Maybe I am confused about the VirtualHost part then, because I thought
> that is what the documentation said to add and it didn't say anything
> about changing a listen setting in Apache.  What is the DocumentRoot
> supposed to be in the VirtualHost?
>
> On Jan 7, 12:56 am, Hugo Vacher <[email protected]> wrote:
>
> > Hey james,
>
> > Apache is not suposed to listen on APE's ip, so you cannot set a virtual
> > host.
>
> > Looks like Apache is still listening on the new ip, on port 443, maybe you
> > use the same server and apache listens on *.
>
> > The directory listing is provided by apache (on ape.domain.com:443) so this
> > means you still have a probleme with apache.
>
> > Be shure that the APE's ip is only used by APE.
>
> > Hugo
>
> > PS: Maybe just change the "Listen" conf in apache to : "Listen
> > 174.36.51.210:80"
> > --------------------------------------------------------------------------- 
> > ------------------
>
> > Hugo Vacher, Développeur Web
>
> > 2010/1/7 james33 <[email protected]>
>
> > > Hmm, so now I guess the DNS has resolved since something is showing on
> > >http://ape.domain.com:443, but it is the "Index of /" page, showing
> > > the contents of the folder that contains the javascript (Build,
> > > Clients, Demos, Source, Tools).  I assume this isn't what I should be
> > > seeing, so I'm also assuming my configuration somewhere must be wrong
> > > since aped is definitely running on the server.
>
> > > Is this how I am supposed to setup the virtual host in httpd.conf?
>
> > > <VirtualHost *>
> > >        Servername domain.com
> > >        ServerAlias ape.domain.com
> > >        ServerAlias *.ape.domain.com
>
> > >        DocumentRoot "/home/domain/public_html/ape/"
> > > </VirtualHost>
>
> > > On Jan 6, 5:59 pm, james33 <[email protected]> wrote:
> > > > I'd rather not have the search engines cache it, so here's a link
> > > > through bit.ly to the test page:http://bit.ly/76WIsU
>
> > > > On Jan 6, 5:50 pm, Anthony Catel <[email protected]> wrote:
>
> > > > > You may be need to wait for the DNS cache to be deleted.
>
> > > > > Do you have any public URL where I can check?
>
> > > > > Anthony
>
> > > > > Le 07/01/10 00:41, james33 a crit :
>
> > > > > > Thanks for the help so far, but I am still getting this error:
>
> > > > > > Can't contact APE Server. Please check the your APE Server is 
> > > > > > running
> > > > > > and the folowing url is pointing to your APE server :
> > >http://ape.domain.com:443
>
> > > > > > The APE server is running, I gave ape.domain.com its own dedicated
> > > IP,
> > > > > > changed it in the DNS, and changed it in the ape.conf.  I tried with
> > > > > > both port 80 and 443 and it still can't connect.
>
> > > > > > On Jan 6, 5:38 pm, Anthony Catel<[email protected]>  wrote:
>
> > > > > >> You just need to have *.ape.domain.com that point to the IP where
> > > APE is
> > > > > >> binded.
> > > > > >> Then just put the right IP in "ip_listen" (ape.conf)
>
> > > > > >> Anthony
>
> > > > > >> Le 07/01/10 00:10, james33 a crit :
>
> > > > > >>> Ah so I can use a different IP than the one that is used for the
> > > main
> > > > > >>> domain and it'll work?  Do I need to specify the IP in the config
> > > or
> > > > > >>> will it pick it up automatically once I change the IP of
> > > > > >>> ape.domain.com in the DNS settings?
>
> > > > > >>> On Jan 6, 5:06 pm, Anthony Catel<[email protected]>    wrote:
>
> > > > > >>>> Hi,
>
> > > > > >>>> You have several solutions :
>
> > > > > >>>> - Use an IP free of 80 or 443
> > > > > >>>> - Use another port but be aware that some firewall can cry ;)
>
> > > > > >>>> Anthony
>
> > > > > >>>> Le 06/01/10 23:59, james33 a crit :
>
> > > > > >>>>> So how do I know what port to use instead?  I can't disable ssl
> > > as I
> > > > > >>>>> use it on the site.
>
> > > > > >>>>> On Jan 6, 3:20 pm, Hugo Vacher<[email protected]>      wrote:
>
> > > > > >>>>>> Hi James,
>
> > > > > >>>>>> Error 400 comes from Apache (or any other http server). So 
> > > > > >>>>>> looks
> > > like Ape
> > > > > >>>>>> cannot user port 443 because it is allready in use.
>
> > > > > >>>>>> Be shure to disable apache ssl mod and look when starting APE 
> > > > > >>>>>> if
> > > there is
> > > > > >>>>>> any error.
>
> > > > > >>>>>> Regards
>
> > > ---------------------------------------------------------------------------
> > > ------------------
>
> > > > > >>>>>> Hugo Vacher, D veloppeur Web
>
> > > > > >>>>>> 2010/1/6 james33<[email protected]>
>
> > > > > >>>>>>> I am trying to get APE working on my server. I've gotten the
> > > client
> > > > > >>>>>>> installed on my CentOS server, and I've uploaded the JS files.
> > > It says
> > > > > >>>>>>> to use port 443, but when trying to connect tohttp://
> > > ape.domain.com:443
> > > > > >>>>>>> I get a 400 Bad Request error saying "Your browser sent a
> > > request that
> > > > > >>>>>>> this server could not understand. Reason: You're speaking 
> > > > > >>>>>>> plain
> > > HTTP
> > > > > >>>>>>> to an SSL-enabled server port. Instead use the HTTPS scheme to
> > > access
> > > > > >>>>>>> this URL, please."
>
> > > > > >>>>>>> Any ideas on what is wrong here?  I am not sure if it is due 
> > > > > >>>>>>> to
> > > server
> > > > > >>>>>>> config, bad config of the APE client, or something else.
>
> > > > > >>>>>>> --
> > > > > >>>>>>> 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]<ape-project%2bunsubscr...@googlegr
> > > > > >>>>>>>  oups.com>
> > > <ape-project%2bunsubscr...@googlegr oups.com>
> > > > > >>>>>>> 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]<ape-project%2bunsubscr...@googlegr
> > >  oups.com>
> > > 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/

Reply via email to