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


/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 that
http://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/'; //APE JSF
> 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/anything the answer 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]>
> 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