Thanks for your help but i still don't really get it. Here is my
cofiguration. The aim is to run ape and apache on the same server with
different ips on port 80.

Example:
Ape on 192.168.2.10:80
Apache on 192.168.2.11:80

===================================================================

ape.conf:

Server {
        port = 80
        daemon = no
        ip_listen = 192.168.2.10
        ip_local = 127.0.0.1
        domain = example.com
        rlimit_nofile = 10000
        pid_file = /var/run/aped.pid
}

===================================================================

ApeClientJS.js:

APE.Config.baseUrl = 'http://example.com/ape-jsf;
APE.Config.domain = 'example.com';
APE.Config.server = 'ape.example.com:80';

===================================================================

Bind Configuration(file: db.example.com)

example.com       IN      A       192.168.2.11
ape               IN      A       192.168.2.10
*.ape             IN    CNAME    ape

===================================================================

httpd.conf

<VirtualHost 192.168.2.11:80>
        Servername example.com
        ServerAlias ape.example.com
        ServerAlias *.example.com

        DocumentRoot "/var/www/example/"
</VirtualHost>

===================================================================

Then i get the following error message on firebug:

Permission denied to access property 'APE'
 if (!iframe.contentWindow.APE) setTi...ent, but the iframe is not
loaded -_-


I'm not sure with the apache configuration, do you have any idea.
Thanks in advance.

robroy

On 9 Jun., 14:03, Ronnie Visser <[email protected]> wrote:
> oh, and port should be 80 in ape.conf
>
> 2011/6/9 Ronnie Visser <[email protected]>
>
> > i have following in ape.conf
>
> > ip_listen = ip of where pae should be running
> > domain = testdomain.com // if you call ape from ape.testdomain.com then
> > testdomain.com is what you have to fill in
>
> > Is you set your DNS record the right way it should run!
>
> > 2011/6/9 Anthony Catel <[email protected]>
>
> >> no :
>
> >> ip_listen
>
> >> 0.0.0.0 means : all interface
>
> >> Le 09/06/2011 00:07, robroy a écrit :
>
> >>  Hey that sounds great but how to configure the ape.conf to bind to the
> >>> ip?
>
> >>> Server {
> >>>         port = 80
> >>>         daemon = no
> >>>         ip_listen = 0.0.0.0
> >>>         ip_local = 127.0.0.1
> >>>         domain = example.com<- HERE?
> >>>         rlimit_nofile = 10000
> >>>         pid_file = /var/run/aped.pid
> >>> }
>
> >>> On 8 Jun., 23:04, Ronnie Visser<[email protected]>  wrote:
>
> >>>> I have done this. My ape is running on port 80.
>
> >>>> Just create a A record like ape.domain.com and forward it to the ip.
> >>>> And a cname *.ape.domain.com and point it to ape.domain.com
>
> >>>> In ape.conf set THE server ip. That should be it!!
>
> >>>> Op 7 jun. 2011 om 15:19 heeft robroy<[email protected]>  het
> >>>> volgende geschreven:
>
> >>>>  Hello,
> >>>>> is it possible to bind ape to a certain ip address?
> >>>>> I target to run ape and apache on port 80 but on different ip
> >>>>> addresses.
> >>>>> Regards,
> >>>>> robroy
> >>>>> --
> >>>>> 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/
>
> >> --
> >> 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/

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