Well, I tested it with no TLD. It didn't work. I hope the author will
make ape, if possible, domain-agnostic.


For those interested, here's what i did.

ape.conf
======
Server {
        port = 8080
        daemon = yes
        ip_listen = 0.0.0.0
        ip_local = 127.0.0.1
        domain = comet.test
        rlimit_nofile = 65536
}

httpd-vhost.conf
===========
<VirtualHost *>
        Servername comet.test
        ServerAlias ape.comet.test
        ServerAlias *.ape.comet.test
        <Proxy *>
                Order Deny,Allow
                Allow from *.comet.test
        </Proxy>
        <Location /ape>
                Order Deny,Allow
                Allow from all
                RewriteEngine on
                RewriteRule /?(.*)$ http://%{HTTP_HOST}:8080/?%{REMOTE_ADDR}
[QSA,P]
        </Location>
</VirtualHost>


APE_JSF/Clients/Mootools-noTLD.js http://gist.github.com/179039
APE_JSF/Source/Core/Core-noTLD.js http://gist.github.com/179040

APE_JSF/Demos/config.js
===================
APE.Config.baseUrl = 'http://192.168.200.12/APE_JSF/Source'; //APE JSF
APE.Config.domain = 'comet.m2cash'; //Your domain, must be the same
than the domain in aped.conf of your server
APE.Config.server = '192.168.200.12'; //APE server URL

//Scripts to load for APE JSF
(function(){
        for (var i = 0; i < arguments.length; i++)
                APE.Config.scripts.push(APE.Config.baseUrl + '/' +
arguments[i] + '.js');
})('mootools-core', 'Core/Events', 'Pipe/Pipe', 'Pipe/PipeProxy',
'Pipe/PipeMulti', 'Pipe/PipeSingle', 'Core/Core-noTLD', 'Core/
Utility');


Demos Mootools.js script must be replaced with Mootools-noTLD.js


On Aug 29, 3:34 pm, ken marfilla <[email protected]> wrote:
> Do your network have TLD? If none then you will also have to edit the hosts
> file in the terminal you want to access the site.
>
> I think it's also possible to use mod rewrite to forward remote host + query
> string from ape client to server. But this will require few modifications
> with the client script. The current script relies heavily on sub-domain
> which is impossible to use in a network with no TLD. Knowing Mootools, it
> will be easy to override the core without touching it.
>
>
>
> On Tue, Aug 25, 2009 at 9:38 PM, vallies <[email protected]> wrote:
>
> > Hi,
>
> > I had installed APE in local machine
> > move demo works fine.
> > with url http;//ape-test.local/APE_JSF/Demos/Move/demo.html  in the
> > machine i installed
>
> > when i connect this machine from other using url with IP
> >http://192.168.1.122/APE_JSF/Demos/Move/demo.html
> > i got the base container but the iframe is not created.
>
> > how can i make APE work on LAN network
>
> > yours
> > vallieswaran
>
> --
> Ken Marfilla
> TelePhilippines Inc., Pasig City, Philippines
> Tel. 63.(02)632-9000
--~--~---------~--~----~------------~-------~--~----~
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