[sync] Horde ActiveSync with outlook 2013 problem on Centos 6.5 + apache on virtualmin
Michael J Rubinsky
mrubinsk at horde.org
Sun Sep 14 15:56:12 UTC 2014
Quoting mn 320 <mn3250 at gmail.com>:
> Thank you for your answer.
> I also tried to check if the problem is apache related by adding something
> to the url and accessing it via a web browser.
You can't test ActiveSync connections like this. The only URL that
will work for ActiveSync is /Microsoft-Server-ActiveSync (which should
give you a message in the browser that you can't access the ActiveSync
endpoint via a browser).
> Here is the server response:
> <d:error><s:exception>Sabre\DAV\Exception\Forbidden</s:exception><s:message>Requested
> uri (/hmail/rpc.php?Cmd=) is out of base uri
> (/hmail/rpc.php/)</s:message><s:sabredav-version>1.8.10</s:sabredav-version></d:error>
> Can this be the source of my problem? I get a response if I access
> /hmail/rpc.php (have to login). Is it possible that outlook adds something?
See above. This is not how EAS clients access the server.
> Here is what I get via outlook in my httpd logs:
> POST
> /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=user at domain.com&DeviceId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&DeviceType=WindowsOutlook15
> HTTP/1.1" 500 264 "-" "Outlook/15.0 (15.0.4641.1000; MSI; x86)
> and via a browser it tells me that activesync in not available via a
> browser.
Correct. See above.
> Here is my .htacces
> ---------------------------------------
> allow from all
> AcceptPathInfo On
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteCond %{HTTPS} on
> RewriteRule .* -
> [env=HTTP_MS_ASPROTOCOLVERSION:%{HTTP:Ms-Asprotocolversion}]
> RewriteRule .* - [env=HTTP_X_MS_POLICYKEY:%{HTTP:X-Ms-Policykey}]
> RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ rampage.php [QSA,L]
> </IfModule>
> --------------------------------------
>
> And in httpd.conf
> --------------------------------------
> RedirectMatch 302 (?i)/autodiscover/autodiscover.xml
> https://secure.domain2.com/autodiscover/autodiscover.xml
> RedirectMatch 302 (?i)/Autodiscover/Autodiscover.xml
> https://secure.domain2.com/Autodiscover/Autodiscover.xml
> RedirectMatch 302 (?i)/AutoDiscover/AutoDiscover.xml
> https://secure.domain2.com/autodiscover/autodiscover.xml
> Alias /Microsoft-Server-ActiveSync /home/domain2/public_html/hmail/rpc.php
> Alias /autodiscover/autodiscover.xml /home/domain2/public_html/hmail/rpc.php
> Alias /Autodiscover/Autodiscover.xml /home/domain2/public_html/hmail/rpc.php
> Alias /AutoDiscover/AutoDiscover.xml /home/domain2/public_html/hmail/rpc.php
> Alias /rampage.php /home/domain2/public_html/hmail/rampage.php
>
> (I try to sync domain.com via secure.domain2.com - ssl certs are in place
> and postfix/dovecot have no problem with this config [Can it be a security
> prevention while accessing the sync by horde?]).
--
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/sync/attachments/20140914/953b063d/attachment.bin>
More information about the sync
mailing list