[horde] Can't Connect ActiveSync Android

Michael J Rubinsky mrubinsk at horde.org
Fri Jun 22 17:03:18 UTC 2012


Quoting Kevin Smith <theonlytalkinggoat at gmail.com>:

> On Fri, Jun 22, 2012 at 10:17 AM, Michael J Rubinsky  
> <mrubinsk at horde.org>wrote:
>
>>
>> Quoting Kevin Smith <theonlytalkinggoat at gmail.com>**:
>>
>>  I've been trying to set up my Android to connect to horde's activesync for
>>> a couple days, now, and I can't seem to get it to work. I followed the
>>> WIKI
>>> directions, here:
>>>
>>> http://wiki.horde.org/**ActiveSync <http://wiki.horde.org/ActiveSync>
>>>
>>> ... but it makes no difference. Whenever I try to connect, the droid just
>>> produces the 'unable to connect error' and there isn't much to go off of
>>> in
>>> the log:
>>>
>>> horde:80 192.168.15.104 - *** [22/Jun/2012:09:38:51 -0500] "OPTIONS
>>> /Microsoft-Server-ActiveSync?**Cmd=OPTIONS&User=***&DeviceId=**
>>> validate&DeviceType=Android
>>> HTTP/1.1" 302 828 "-" "Android/0.3"
>>>
>>> horde:80 192.168.15.104 - *** [22/Jun/2012:09:38:52 -0500] "GET
>>> /login.php?url=http%3A%2F%**2Fhorde.***.com%2FMicrosoft-**
>>> Server-ActiveSync%3FCmd%**3DOPTIONS%26User%3D***%**26DeviceId%3Dvalidate%
>>> **26DeviceType%3DAndroid&horde_**logout_token=T-**
>>> SDfC3dhbAl1VtKs5aaSG_4Dt9j9-**k9kU4qxDZKFPfyKy1iar0&app=**horde
>>> HTTP/1.1" 200 5901 "-"
>>>
>>
>> The Microsoft-Server-ActiveSync url should not be redirecting to
>> login.php. It sounds like you incorrectly setup the Alias directive.
>> /Microsoft-Server-ActiveSync should be an Alias to the filesystem path to
>> horde/rpc.php
>>
>>
>> --
>> mike
>>
>> The Horde Project (www.horde.org)
>> mrubinsk at horde.org
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>>
> I attached my apache2.conf relevant lines:
>
> Alias /microsoft-server-activesync /var/www/webmail/rpc.php
> Alias /autodiscover/autodiscover.xml /var/www/webmail/rpc.php

Why are you using all lowercase? The endpoint is /Microsoft-Server-ActiveSync


> RewriteEngine On
> RewriteRule ^/Microsoft-Server-ActiveSync /horde/rpc.php [PT,L,QSA]
> RewriteRule .* - [E=HTTP_MS_ASPROTOCOLVERSION:%{HTTP:Ms-Asprotocolversion}]
> RewriteRule .* - [E=HTTP_X_MS_POLICYKEY:%{HTTP:X-Ms-Policykey}]
> RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
>
> It gives me this when I visit the page in a browser:
>
> <SOAP-ENV:Envelope><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Bad
> Request</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
>
> I thought the same thing, it wasn't redirecting, so I replaced rdc.php with
> a file that contained the text "test" and it displayed it on the browser,
> using horde.***.com/microsoft-server-activesync
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org


-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6135 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/horde/attachments/20120622/9be14a6d/attachment-0001.bin>


More information about the horde mailing list