I guess you don't understand the differens between
mydomain.cl/Tools/Check
and
mydomain.cl:6969/Tools/Check

This means that if I put  http://ape.mydom.cl:6969/Tools/Check/

is equal if I put http://ape.mydom.cl:6969/etc/ape-jsf/Tools/Check/


look, you should really point your browser to "http://mydom.cl/Tools/Check/";
and nothing else
you should have the settings i pointed you out in my first mail

when i said
the virtual host setting below means that
http://mydom.cl/test.html
will translate in to the local file /etc/ape-jsf/test.html

i meant:
IN YOUR BROSWER http://mydom.cl/test.html
ON YOU LOCAL FILESYSTEM /etc/ape-jsf/test.html
if you put in http://mydom.cl/etc/ape-jsf/test.html<http://mydom.cl/test.html>
int wil locally translate into /etc/ape-jsf/etc/ape-jsf/test.html

as in your vitrualserver in apache conf you putted
DocumentRoot "/etc/ape-jsf/"

you should really understand apache, services/deamons and port listening
before you start with ape.
We can help you but we cannot do it for you.


Kind Regards.
Ruben Decleyn



On Fri, Oct 8, 2010 at 6:15 PM, edox <[email protected]> wrote:

> Hi.
> Thanks for the answer I tried with your advices but tha answer not
> change
> The first approach was to change in /etc/ape-jsf/Demos/conf.js
> removing "/" the
> APE.Config.baseUrl.
>                                                  |
>                                                 V
> APE.Config.baseUrl = 'http://mydom.cl/etc/ape-jsf'; //APE JSF
> APE.Config.domain = 'auto';
> APE.Config.server = 'ape.mydom.cl:6969'; //APE server URL
>
> and run ape with
> sudo /usr/bin/aped --cfg /etc/ape/ape.conf.
> in the browser I put
>
> http://mydom.cl:6969/
> http://ape.mydom.cl:6969/
> http://ape.mydom.cl:6969/etc/ape-jsf/Tools/Check/
>
> and had the same answer.
>
> The second approach was to change in /etc/ape-jsf/Demos/conf.js for
>
> APE.Config.baseUrl = 'http://mydom.cl/'; //APE JSF
> APE.Config.domain = 'mydom.cl';
> APE.Config.server = 'ape.mydom.cl:6969'; //APE server URL
>
> I don't change virtual host configuration
>
> /etc/apache2/sites-available
>
> <VirtualHost *>
>        Servername mydom.cl
>        ServerAlias ape.mydom.cl
>        ServerAlias *.ape.mydom.cl
>
>        DocumentRoot "/etc/ape-jsf/"
> </VirtualHost>
>
> and  restart Apache    sudo /etc/init.d/apache2 restart
> and Ape                sudo /usr/bin/aped --cfg /etc/ape/ape.conf.
> when I tried
>
> http://mydom.cl:6969/
> http://ape.mydom.cl:6969/
> http://ape.mydom.cl:6969/etc/ape-jsf/Tools/Check/
>
> had the same answer.
>
> When you said:
>
> the virtual host setting below means that
> http://mydom.cl/test.html
> will translate in to the local file /etc/ape-jsf/test.html
>
> This means that if I put  http://ape.mydom.cl:6969/Tools/Check/
> is equal if I put http://ape.mydom.cl:6969/etc/ape-jsf/Tools/Check/
>
> I have a last question where is the file HTML that show
>
> ---------------------------------------------------------------------------
> APE Server
>
> No command given.
>
> http://www.ape-project.org/ - Server 1.00 (Build Dec 10 2009 20:26:31)
>
> ---------------------------------------------------------------------------
>  kind Regards.
>
> On Oct 8, 4:38 am, Léo SEI <[email protected]> wrote:
> > Don't know if it changes anything but you don't have to put the / at
> > the end of : APE.Config.baseUrl = 'http://mydom.cl/etc/ape-jsf/'
> >
> > Léo
> >
> > On 8 oct, 02:11, Ruben Decleyn <[email protected]> wrote:
> >
> >
> >
> > > > APE.Config.baseUrl = 'http://mydom.cl/etc/ape-jsf/';//APEJSF
> >
> > > APE.Config.domain = 'auto';
> >
> > > APE.Config.server = 'ape.mydom.cl:6969'; //APE server URL
> >
> > > /etc/ape/ape.conf
> >
> > > Server {
> >
> > >        port = 6969
> >
> > >        daemon = no
> >
> > >        ip_listen = 200.200.200.200
> >
> > >        domain = mydom.cl
> >
> > >        rlimit_nofile = 10000
> >
> > >        pid_file = /var/run/aped.pid
> >
> > > }
> >
> > > think you misconfigured the domains
> > > should be:
> >
> > > APE.Config.baseUrl = 'http://mydom.cl/<http://mydom.cl/etc/ape-jsf/>';
> >
> > > > //APE JSF
> >
> > > APE.Config.domain = 'mydom.cl';
> >
> > > APE.Config.server = 'ape.mydom.cl:6969'; //APE server URL
> >
> > > /etc/ape/ape.conf
> >
> > > Server {
> >
> > >        port = 6969
> >
> > >        daemon = no
> >
> > >        ip_listen = 200.200.200.200
> >
> > >        domain = auto
> >
> > >        rlimit_nofile = 10000
> >
> > >        pid_file = /var/run/aped.pid
> >
> > > }
> >
> > > the virtual host setting below means thathttp://mydom.cl/test.html
> > > will translate in to the local file /etc/ape-jsf/test.html
> >
> > > <VirtualHost *>
> > >        Servername mydom.cl
> > >        ServerAlias ape.mydom.cl
> > >        ServerAlias *.ape.mydom.cl
> >
> > >        DocumentRoot "/etc/ape-jsf/"
> > > </VirtualHost>
> >
> > > Kind Regards.
> > > Ruben Decleyn
> >
> > > On Thu, Oct 7, 2010 at 10:58 PM, edox <[email protected]> wrote:
> > > > Hi I have a probleme to use ape with a virtual server, I configured
> > > > DNS and this run OK
> >
> > > > Mi configuration is:
> >
> > > > /etc/apache2/sites-available
> >
> > > > <VirtualHost *>
> > > >        Servername mydom.cl
> > > >        ServerAlias ape.mydom.cl
> > > >        ServerAlias *.ape.mydom.cl
> >
> > > >        DocumentRoot "/etc/ape-jsf/"
> > > > </VirtualHost>
> >
> > > > /etc/ape-jsf/Demos/conf.js
> >
> > > > APE.Config.baseUrl = 'http://mydom.cl/etc/ape-jsf/';//APEJSF
> > > > APE.Config.domain = 'auto';
> > > > APE.Config.server = 'ape.mydom.cl:6969'; //APE server URL
> >
> > > > /etc/ape/ape.conf
> >
> > > > Server {
> > > >        port = 6969
> > > >        daemon = no
> > > >        ip_listen = 200.200.200.200
> > > >        domain = mydom.cl
> > > >        rlimit_nofile = 10000
> > > >        pid_file = /var/run/aped.pid
> > > > }
> >
> > > > /etc/bind/db.mydom
> >
> > > > mydom.cl.       IN      NS      ns.mydom.cl.
> > > > mydom.cl.       IN      A       200.200.200.200
> > > > ns              IN      A       200.200.200.200
> > > > ape             IN      A       200.200.200.200
> > > > *.ape           IN      CNAME   ape
> >
> > > > I run aped with command
> >
> > > > sudo /usr/bin/aped --cfg /etc/ape/ape.conf
> >
> > > >  /_\ | _ \ __|
> > > >  / _ \|  _/ _|
> > > > /_/ \_\_| |___|
> > > > AJAX Push Engine
> >
> > > > Bind on port 6969
> >
> > > > Version : 1.00
> > > > Build   : Dec 10 2009 20:26: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
> > > > [JS] Loading script /var/ape/srv1.js
> >
> > > > When I try  http://ape.mydom.cl:6969/or
> > > >http://ape.mydom.cl:6969/etc/ape-jsf/Tools/Check/
> > > > I only can see in the browser.
> >
> > > >
> ---------------------------------------------------------------------------
> > > > APE Server
> >
> > > > No command given.
> >
> > > >http://www.ape-project.org/-Server 1.00 (Build Dec 10 2009 20:26:31)
> >
> > > >
> ---------------------------------------------------------------------------
> > > > And if I try  http://ape.mydom.cl:6969/anythingtheanswer is the same
> >
> > > > Thank in advance
> >
> > > > --
> > > > 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%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%[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