Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Mobile sync Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
asplund
Newbie
Newbie
Avatar

Joined: 17 June 2015
Location: Sweden
Online Status: Offline
Posts: 2
Posted: 17 June 2015 at 2:20pm | IP Logged Quote asplund

Yesterday I bout the PHP pro version.
Everything works fine except for mobile sync.

I can test the sync in the webbrowser


But what do I have to change or edit to get the Mobile Sync to work on the Iphone or Mac. Even if i put the entire adress in it want work.

I only get the information from the phone or Mac that it can't login

Server info
Windows server 2008R2
IIS 7.5
PHP 5.4.9

Regards Johan
Back to Top View asplund's Profile Search for other posts by asplund
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 18 June 2015 at 5:28am | IP Logged Quote Igor

While out-of-box setup will work for some DAV clients, sync with iOS and other clients would require reconfiguring webserver to allow DAV access via dedicated domain or port, that's typically done by configuring virtual host. If it's a special port, using 8008 is recommended as it's a default one used by iOS clients.

Another way is to perform .well-known configuration. With Apache, for example, that's done by supplying the following in .htaccess file or virtual host config:

Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* -
Redirect 301 /.well-known/carddav /dav/server.php/
Redirect 301 /.well-known/caldav /dav/server.php/
</IfModule>


We don't currently have instructions for IIS but the idea of the configuration would probably be the same: from URLs ending with /.well-known/caldav or /.well-known/carddav, redirect to /dav/server.php/.

Note that, with configuration settings supplied that way, you'll need to use your WebMail installation URL as DAV URL, without any suffixes etc.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
asplund
Newbie
Newbie
Avatar

Joined: 17 June 2015
Location: Sweden
Online Status: Offline
Posts: 2
Posted: 18 June 2015 at 1:35pm | IP Logged Quote asplund

I have come so far...

<rewrite>
            <rules>
      <rule name="rule carddav ios">
          <match url="^.well-known/carddav" />
        <action type="Redirect" url="https://webmail.biljettmonster.se/dav/server.php/" />
       </rule>
      <rule name="rule caldav ios">
          <match url="^.well-known/caldav" />
        <action type="Redirect" url="https://webmail.biljettmonster.se/dav/server.php/" />
       </rule>
        <rule name="rule caldav apps" stopProcessing="true">
          <match url="https://webmail.biljettmonster.se/dav/" />
        <action type="Rewrite" url="https://webmail.biljettmonster.se/dav/server.php/" appendQueryString="true" />
      </rule>
            </rules>
        </rewrite>

I have open port 80, 443, 8800, 8008, 8843 (SSL), 8443 (SSL)
I can connect on all ports in safari and Google Crome.

I found this info on apple.com
8800 and 8008 used by apple DAV
8843 and 8443 used by apple DAV with SSL

When trying to add an account on it says: Canīt establish a secure connection.
Or it says: Canīt verify username and password.

Any one who have any Idea why DAV would not work.

It seems like it cant get the .well-known information from web.config
Back to Top View asplund's Profile Search for other posts by asplund
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 18 June 2015 at 1:45pm | IP Logged Quote Igor

No idea honestly, but there's a chance that SabreDAV configuration on IIS tutorial for Roundcube referenced in SabreDAV webserver configuration documentation will help.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide