thanks Eduardo  for your example ;
it gave me the idea to put ape_jsf folder under /var/www as you did
then the ape test could go further

the full test eventually succeeded locally using then the following
configurations :

in apache2.conf :

<VirtualHost *:80>
        ServerName ape-test.local
        ServerAlias ape.ape-test.local
        ServerAlias *.ape.ape-test.local

        DocumentRoot /var/www/ape-jsf/
</VirtualHost>

in ape.conf :

Server {
        port = 443
        daemon = no
        ip_listen = 0.0.0.0
        domain = auto
        rlimit_nofile = 10000
        pid_file = /var/run/aped.pid
}

in /var/www/ape-jsf/Demos/config.js

APE.Config.baseUrl = 'http://192.168.0.231'; //APE JSF
APE.Config.domain = '192.168.0.231'; //Your domain, must be same as
domain in aped.conf
APE.Config.server = 'ape.192.168.0.231:443'; //APE server URL

and in /etc/hosts

IP_address ape-test.local
IP_address ape.ape-test.local
IP_address 0.ape.ape-test.local
IP_address 1.ape.ape-test.local
IP_address 2.ape.ape-test.local
IP_address 3.ape.ape-test.local
IP_address 4.ape.ape-test.local
IP_address 5.ape.ape-test.local
IP_address 6.ape.ape-test.local
IP_address 7.ape.ape-test.local
IP_address 8.ape.ape-test.local
IP_address 9.ape.ape-test.local

using the IP_address in place of ape-test.local works on the same
computer
where ape is running but not elsewhere
I think it is a network configuration problem that can be easily
solved by my administrator

but at the present time I hope it is enough to play with ape locally

thanks a lot

Jean-Marie

On Nov 30, 12:42 pm, Eduardo Candanedo <[email protected]> wrote:
> Jean
>
> My configuration is:
>
> <VirtualHost *:5555>
>        Servername mov.cl
>        ServerAlias ape.mov.cl
>        ServerAlias *.ape.mov.cl
>        DocumentRoot /var/www/APE_JSF
> </VirtualHost>
>
> dont forget to make:
>
> $sudo /etc/init.d/apache2 restart.
>
> .......
>
> Server {
>         port = 5555
>         daemon = no
>         ip_listen = 200.100.100.860
>         domain = auto
>         rlimit_nofile = 10000
>         pid_file = /var/run/aped.pid
>
> }
>
> .......
>
> APE.Config.baseUrl = 'http://mov.cl/APE_JSF';//APE JSF
> APE.Config.domain = 'mov.cl';
> APE.Config.server = 'ape.mov.cl:5555'; //APE server URL
>
> For run test:
>
> http://mov.cl/APE_JSF/Tools/Check/<http://movrb.cl/APE_JSF/Tools/Check/>
>
> Hope that help
>
> Edo.
>
> 2010/11/30 Jean-Marie <[email protected]>
>
>
>
> > Hi Eduardo
>
> > trying  http://IP_address/Tools/Check/without port number,
> > gives an error message saying that the connexion with the "server"
> > cannot be done ;
> > it concerns apache server since when I start apache and try again
> >http://IP_address/Tools/Check/,
> > I get the following information :
> > -----
> > Not Found
> > The requested URL /Tools/Check/ was not found on this server.
> > -----
> > so if i don't specify any port, port 80 is used by default
>
> > something is surely not well configured  since the value of
> > DocumentRoot in apache2.conf is not taken into account
>
> > I notice also that if I take off the following declaration of
> > VirtualHost from apache2.conf , the result is the same :
> > <VirtualHost *>
> >        Servername IP_address
> >        ServerAlias ape.IP_address
> >        ServerAlias *.ape.IP_address
>
> >        DocumentRoot "/home/jmarie/APE-Project_1.0/ape-jsf/"
> > </VirtualHost>
>
> > so may be VirtualHost is not even taken into account
>
> > for your information I installed APE on ubuntu 10.04 LTS
>
> > jean-Marie
>
> > On Nov 29, 7:51 pm, Eduardo Candanedo <[email protected]> wrote:
> > > Hi Jean.
>
> > > Try without port number in you address  http://IP_address/Tools/Check/
>
> > > 2010/11/29 Jean-Marie <[email protected]>
>
> > > > Hello
>
> > > > when trying to test my APE installation with opening my browser to :
>
> > > >http://IP_address:443/Tools/Check/
>
> > > > I get the following message :
> > > > ---------------------------------------------------
> > > > APE Server
>
> > > > No command given.
> > > >http://www.ape-project.org/-Server 1.00 (Build Dec 10 2009 20:27:32)
> > > > ---------------------------------------------------
>
> > > > it means at least that APE server is runing but doesn't take into
> > > > account
> > > > anything after the stringhttp://IP_address:443/
>
> > ----------------------------------------------------------------------------------------------------------------------------------------
> > > > I give some details about my installation : /etc/apache2.conf includes
> > > > the following lines :
>
> > > > <VirtualHost *>
> > > >        Servername IP_address
> > > >        ServerAlias ape.IP_address
> > > >        ServerAlias *.ape.IP_address
>
> > > >        DocumentRoot "/home/jmarie/APE-Project_1.0/ape-jsf/"
> > > > </VirtualHost>
>
> > > > IP_address being the IP address of the machine running APE server
>
> > > > /etc/ape/ape.conf file includes the following lines :
>
> > > > Server {
> > > >        port = 443
> > > >        daemon = no
> > > >        ip_listen = 0.0.0.0
> > > >        domain = auto
> > > >        rlimit_nofile = 10000
> > > >        pid_file = /var/run/aped.pid
> > > > }
> > > > ..
>
> > > > Config {
> > > > #relative to ape.conf
> > > >        modules = /usr/lib/ape/
> > > >        modules_conf = /etc/ape/
> > > > }
>
> > > > /home/jmarie/APE-Project_1.0/ape-jsf/Demos/config.js file is
> > > > configured as follows :
>
> > > > /***
> > > >  * APE JSF Setup
> > > >  */
> > > > APE.Config.baseUrl = 'http://IP_address/ape-jsf';//APEJSF
> > > > APE.Config.domain = 'IP_address'; //Your domain, must be same as
> > > > domain in aped.conf
> > > > APE.Config.server = 'ape.IP_address:443'; //APE server URL
> > > > ...
>
> > > > when APE start i have the following trace :
> > > >  * Restarting Ajax push engine
> > > > aped
> > > > _   ___ ___
> > > >  /_\ | _ \ __|
> > > >  / _ \|  _/ _|
> > > > /_/ \_\_| |___|
> > > > AJAX Push Engine
>
> > > > Bind on port 443
>
> > > > Version : 1.00
> > > > Build   : Dec 10 2009 20:27:31
> > > > Author  : Weelya ([email protected])
>
> > > > [Module] [spidermonkey] Loading module : Javascript embeded (0.01) -
> > > > Anthony Catel
> > > > [JS] Loading script /var/ape/framework/mootools.js
> > > > [JS] Loading script /var/ape/framework/Http.js
> > > > [JS] Loading script /var/ape/framework/userslist.js
> > > > [JS] Loading script /var/ape/utils/utils.js
> > > > [JS] Loading script /var/ape/commands/proxy.js
> > > > [JS] Loading script /var/ape/commands/inlinepush.js
> > > > [JS] Loading script /var/ape/examples/nickname.js
> > > > [JS] Loading script /var/ape/examples/move.js
> > > > [JS] Loading script /var/ape/utils/checkTool.js
>
> > ----------------------------------------------------------------------------------------------------------------------------------------
>
> > > > the value of DocumentRoot is not taken into account
>
> > > > can anybody help me ?
>
> > > > thanks a lot
>
> > > > Jean-Marie
>
> > > > --
> > > > 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%[email protected]>
> > <ape-project%[email protected]<ape-project%[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]<ape-project%[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/

Reply via email to