Mailing List CGatePro@mail.stalker.com Message #97632
From: Mark Romen <mark.romen@lvh.it>
Subject: AW: {Disarmed} AW: {Disarmed} Re: Airsync Reverse Proxy
Date: Wed, 25 Mar 2009 13:51:58 +0100
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
X-Mailer: CommuniGate Pro MAPI Connector 1.52.5.1/1.52.5.3(local)

Alastair,

 

I got Airsync working now J

The problem was the trailing slash at the end of the ProxyPass line, so the lines are looking like that right now:

 

ProxyPass /Microsoft-Server-ActiveSync https://mailserver:9100/Microsoft-Server-ActiveSync 

ProxyPassReverse /Microsoft-Server-ActiveSync https://mailserver:9100/Microsoft-Server-ActiveSync

 

And it’s working!! Whenever you are in Italy I will pay you a cup of coffee ;-) Thanks

 

Mark


Von: CommuniGate Pro Discussions [mailto:CGatePro@mail.stalker.com] Im Auftrag von Alastair Burr
Gesendet: Dienstag, 24. März 2009 17:22
An: CommuniGate Pro Discussions
Betreff: Re: {Disarmed} AW: {Disarmed} Re: Airsync Reverse Proxy

 

Mark,

Sure, we are using CGP 5.2.12, but got this working initially on 5.1.13 running on SuSE linux x86 (rpm based installation). Apache, we are running Apache/2.2.6 on an archaic RedHat installation (6.2 I believe).

Example of this working from our apache access log:

192.168.1.X - - [24/Mar/2009:15:04:23 +0000] "OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" 200 - "-" "Apple-iPhone/508.11"
192.168.1.X - - [24/Mar/2009:15:04:23 +0000] "POST /Microsoft-Server-ActiveSync?User=user.name&DeviceId=Appl87842XHVY1K&DeviceType=iPhone&Cmd=Sync HTTP/1.1" 200 905 "-" "Apple-iPhone/508.11"


and from our CGP log:

15:06:22.258 2 AIRSYNC(user.name) iPhone(Appl87842XHVY1K): Sync request
15:06:22.427 2 AIRSYNC(user.name) 'INBOX': 1 retrieved, reported 4 as deleted, 0 as updated


Note: Our webserver is 2 minutes out hence the logs being different, NTP has issues on that version of RedHat

The apache config is just setup as previously stated, the ProxyPass, ProxyPassReverse and the SSLProxyEngine lines were the only amendments to our web server that was already setup.

And as a note, apologies for my last email, I mentioned we use self-signed certificates, but I realised we actually have a proper signed certificate for that webserver, we only have self signed on CGP itself. I had read about self signed certificates on the iPhone when reading the iPhone enterprise deployment guide, I think you can just browse to and download the certificate directly on the iPhone using safari.

I mentioned the "/" at the end of the config in my last email, as I am sure that caught me out when initially set this up (but it was a while ago now). Can't think of anything else of the top of my head.

Sorry I can't be of more help for now, if I do think of anything will let you know, this solution is possible, maybe someone else on the list has some experience setting this up?


Alastair Burr
Senior Software Engineer, Bluestar Software
Telephone: +44 (0)1256 882695
Web site: www.bluestar-software.co.uk
Email: alastair.burr@bluestar-software.co.uk

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DISCLAIMER: This email message and any attachments is for the sole
use of the intended recipient(s) and may contain confidential and
privileged information.  Any unauthorised review, use, disclosure
or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of
the original message.

The views expressed in this message may not necessarily reflect the
views of Bluestar Software Ltd.

Bluestar Software Ltd, Registered in England
Company Registration No. 03537860, VAT No. 709 2751 29
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster