Ha ha ha, i forgot to force-reload apache2......sorry, everything
seems to work now.

Thanks alot for all the help, now ill start coding ;)



On Sep 10, 1:56 pm, Bjarman <[email protected]> wrote:
> Here is a transcript from apache2 error.log:
>
> [Thu Sep 10 13:53:29 2009] [warn] proxy: No protocol handler was valid
> for the URL /. If you are using a DSO version of mod_proxy, make sure
> the proxy submodules are included in the configuration using
> LoadModule.
>
> My guess is that the proxying is not working, according to the wiki
> this should suffice:
>
> <VirtualHost *>
>         Servername yourdomain.com
>         ServerAlias ape.yourdomain.com
>         ServerAlias *.ape.yourdomain.com
>
>         DocumentRoot "/directory/of/your/choice/"
>
>         <Proxy *>
>                 Order Deny,Allow
>                 Allow from all
>         </Proxy>
>
> </VirtualHost>
>
> Is there something i am missing?
>
> On Sep 10, 1:51 pm, Anthony Catel <[email protected]> wrote:
>
> > Can you past your apache log ? (error.log)
>
> > Thanks
>
> > Anthony
>
> > Bjarman a écrit :
>
> > > Hello again!
>
> > > Ok, wildcard was not supported in either of my domain hosts. However
> > > instead of using a CNAME i am now using a wildcard on the A record
> > > instead, this seems to work, like this;
>
> > > @ 3600 IN A xx.xx.xx.xx
> > > www 3600 IN A xx.xx.xx.xx
> > > ape 3600 IN A xx.xx.xx.xx
> > > *.ape 3600 IN A xx.xx.xx.xx
>
> > > This works as intended.
>
> > > Now I have another problem, 0.ape.mydomain.com returns a 500 server
> > > error from apache?
>
> > > What might be wrong?
>
> > > aped is running, .htaccess is in place, mod_proxy and rewrite is
> > > enabled, config.js looks nice....I am clueless right now :(
>
> > > On Sep 10, 10:53 am, Nicolas Trani <[email protected]> wrote:
>
> > >> Hi,
>
> > >> you can create different subdomain and do not use a willcard but you
> > >> need to create a lot of subdomain for ape (0.ape.yourdomain.com,
> > >> 1.ape.yourdomain.com, 2.ape.yourdomain.com, .... 10.ape.yourdomain.com)
>
> > >> If you don't expect to use session you can only create 
> > >> 0.ape.yourdomain.com
>
> > >> Regards.
>
> > >> Bjarman a écrit :
>
> > >>> Ok, I think I have found what is wrong. The wildcard on the cname is
> > >>> not working. I think it is turned off in bind by default at my domain
> > >>> host....
>
> > >>> Is there any way to set APE up NOT using wildcards?
>
> > >>> For instance, could i create 0.ape.mydomain.com, 1.ape.mydomain.com
> > >>> and get it up and running?
>
> > >>> I just have access to a web form to configure my domain, I do not have
> > >>> direct access to the zone-file or to bind itself.
>
> > >>> Ideas are more than welcome :/
>
> > >>> On Sep 10, 1:45 am, Bjarman <[email protected]> wrote:
>
> > >>>> Ok, my installation is still not working. Here is my entire setup,
> > >>>> perhaps you can see what is wrong:
>
> > >>>> ape.conf looks like this:
>
> > >>>> uid {
> > >>>>         # "aped" switch to this user/group if it run as root
> > >>>>         user = www-data
> > >>>>         group = www-data
>
> > >>>> }
>
> > >>>> Server {
> > >>>>         port = 6969
> > >>>>         daemon = no
> > >>>>         ip_listen = xx.xx.xx.xx (my external ip)
> > >>>>         ip_local = xx.xx.xx.xx (my external ip again)
> > >>>>         domain = mydomain.com
> > >>>>         rlimit_nofile = 65536
>
> > >>>> }
>
> > >>>> My config.js looks like this:
>
> > >>>> APE.Config.baseUrl = 'http://mydomain.com/Source';//APEJSF
> > >>>> APE.Config.domain = 'mydomain.com'; //Your domain, must be the same
> > >>>> than the domain in aped.conf of your server
> > >>>> APE.Config.server = 'ape.mydomain.com'; //APE server URL
>
> > >>>> My zonefile reads:
>
> > >>>> @ A xx.xx.xx.xx
> > >>>> www A xx.xx.xx.xx
> > >>>> ape A xx.xx.xx.xx
> > >>>> *.ape CNAME ape
>
> > >>>> My virtual host for sub domain "ape" looks like this:
>
> > >>>> DocumentRoot "/srv/www/ape/htdocs"
> > >>>> Servername ape.mydomain.com
> > >>>> ServerAlias ape.mydomain.com
> > >>>> ServerAlias *.ape.mydomain.com
> > >>>> ProxyRequests Off
> > >>>> <Proxy *>
> > >>>> Order Deny,Allow
> > >>>> Allow from all
> > >>>> </Proxy>
>
> > >>>> Problem:http://0.ape.mydomain.com/?script&it_works&anticachereturns
> > >>>> a "server not foud". Im guessing that the wildcard is not working.
>
> > >>>> What am I doing wrong?
>
> > >>>> On Sep 10, 1:32 am, John <[email protected]> wrote:
>
> > >>>>> Exactly. But if you like to use a subdomain for your website you can
> > >>>>> do :
>
> > >>>>> 1. Create a subdomain mydemo.mydomain.com
> > >>>>> 2. Upload JSF to mydemo.mydomain.com
> > >>>>> 3. Create a subdomain for the APE Server : ape.mydemo.mydomain.com
> > >>>>> 4. Put the correct URLs in the confs files (both JSF and Server)
> > >>>>> 5. Do the wildcard
>
> > >>>>> This should work ;)
>
> > >>>>> On Sep 10, 1:29 am, Bjarman <[email protected]> wrote:
>
> > >>>>>> Hello, thanks for a swift reply (and sorry for the double post)
>
> > >>>>>> Ok, if i understad correctly this is what i should do:
>
> > >>>>>> 1. Upload JSF to mydomain.com
> > >>>>>> 2. Create a sub domain for ape, for instance ape.mydomain.com
> > >>>>>> 3. Make sure that the wildcard on the sub domain is working properly
>
> > >>>>>> The first to seems to be straight forward but i suspect that i might
> > >>>>>> have a problem with the wildcard....
>
> > >>>>>> I will try this and hopefully it will work.
>
> > >>>>>> On Sep 10, 1:20 am, John Chavarria <[email protected]> wrote:
>
> > >>>>>>> Hello Bjarman,
>
> > >>>>>>> (I also checked the email you've sent us to the ape-project contact 
> > >>>>>>>  
> > >>>>>>> email, even if you should use only mailing list for help :))
>
> > >>>>>>> Your problem is that you don't have set up a subdomain for the APE  
> > >>>>>>> server itself.
>
> > >>>>>>> I mean you're accessing to your demo through ape.yourdomain.com <=  
> > >>>>>>> This is the URL of your website, but the APE server needs its own  
> > >>>>>>> subdomain such as ape.ape.yourdomain.com
>
> > >>>>>>> In your config.js it will looks like :
> > >>>>>>> APE.Config.baseUrl = 'http://ape.yourdomain.com/Source';//APEJSF
> > >>>>>>> APE.Config.domain = 'ape.yourdomain.com'; //Your domain, must be 
> > >>>>>>> the  
> > >>>>>>> same than the domain in aped.conf of your server
> > >>>>>>> APE.Config.server = 'ape.ape.yourdomain.com'; //APE server URL
> > >>>>>>> Don't forget you also need a wildcard for the APE server 
> > >>>>>>> frequencies  
> > >>>>>>> (0.ape.ape.yourdomain.com, 1.ape.ape.yourdomain.com ...)
> > >>>>>>> Hope I was able to help.
>
> > >>>>>>> Regards,
>
> > >>>>>>> John Chavarria
> > >>>>>>> Weelya - CEO / Graphic Designer
>
> > >>>>>>>www.ape-project.orgwww.weelya.com
>
> > >>>>>>> Le 10 sept. 2009 à 00:51, Bjarman a écrit :
>
> > >>>>>>>> Hello all!
>
> > >>>>>>>> I am a ape-noob with some problems. I have made the installation as
> > >>>>>>>> described herehttp://www.ape-project.org/wiki/index.php/Setupusing
> > >>>>>>>> apache. I have created the subdomains and also created the v-host. 
> > >>>>>>>> The
> > >>>>>>>> aped is up and running listening on 127.0.0.1:6969 according to
> > >>>>>>>> netstat.
>
> > >>>>>>>> However, none of the demos are working, in fact all pages comes out
> > >>>>>>>> blank in my browser, no js-errors or anything, just plain blank?
>
> > >>>>>>>> I understand if it is difficult to point me in the right direction 
> > >>>>>>>> but
> > >>>>>>>> any help is welcome.
>
> > >> --
> > >> Nicolas Trani - Web engineer
> > >> Weelya - Improve the webhttp://www.weelya.comhttp://www.ape-project.org
--~--~---------~--~----~------------~-------~--~----~
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