Hi everybody

I am trying to use my APE server with HTTPS
This is my configuration
- Apache on Ubuntu Server
- APE Server 1.1.1
- APE Client JS latest from GitHub

1) My apeClientJS.js contains :

APE.Config.baseUrl = 'https://www.***.fr/ape';
APE.Config.domain = '***.fr';
APE.Config.server = 'ape.***.fr:443';
APE.Config.secure = true;

2) My /etc/ape/ape.conf is :

uid {
        # "aped" switch to this user/group if it run as root
        user = daemon
        group = daemon
}

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

Log {
        debug = 2
        use_syslog = 0
        syslog_facility = local2
        logfile = /var/log/ape.log
}

JSONP {
        eval_func = Ape.transport.read
        allowed = 1
}

Config {
#relative to ape.conf
        modules = /usr/lib/ape/
        modules_conf = /etc/ape/
}

3) My /etc/stunnel/ape.conf is :
cert = /etc/ssl/all.ape.***.fr.crt
key = /etc/ssl/all.ape.***.fr.key
sslVersion = SSLv3

debug = 7
output = /var/log/stunnel4/stunnel.log

[ape]
accept = 443
connect = 6969

I can connect to ape.***.fr:443 or 0.ape.***.fr:443
I tried to change domain = ***.fr in /etc/ape/ape.conf
And I checked document.domain in iframe created by apeClientJS.js and
it's OK (***.fr)

But I still get this error : Permission denied to access property
'APE'
On this statement : iframe.contentWindow.APE.init(config);
[apeClientJS.js]
So, what's wrong ?
It seems to be a cross domain problem...

Thanks for your help, since I read forums and groups posts, I think I
am not the only one to get this error.

Regards

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