Author |
|
Dima Newbie
Joined: 27 March 2014 Location: Finland
Online Status: Offline Posts: 14
|
Posted: 27 March 2014 at 5:04am | IP Logged
|
|
|
Hi all,
I just installed Webmail pro trial, all works except mobile sync.
I got "Server couldn't be reached" at my phone.
I tried to check server url from web browser, it asks username and password, when I enter it, it asks again and again.
In doc I found suggestion to add following:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
I added this into .htaccess and now it accepts username and password, but as result I have following message in browser:
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\NotImplemented</s:exception>
<s:message>GET is only implemented on File objects</s:message>
<s:sabredav-version>1.8.6</s:sabredav-version>
</d:error>
Can anyone help me with settings, preferably without global setup, is it possible to setup sync via .htaccess?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 27 March 2014 at 5:13am | IP Logged
|
|
|
Just wanted to add that if anyone is aware of methods which allow to configure DAV setup in terms of cPanel, please let us know. We could really use information of such kind, and in return we're willing to offer a discount for purchasing a license.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Dima Newbie
Joined: 27 March 2014 Location: Finland
Online Status: Offline Posts: 14
|
Posted: 27 March 2014 at 9:42am | IP Logged
|
|
|
At least I got sync work with my MacBook via DAV server, it synchronise calendar and contacts fine.
|
Back to Top |
|
|
aplitec Newbie
Joined: 27 March 2014
Online Status: Offline Posts: 7
|
Posted: 27 March 2014 at 10:12am | IP Logged
|
|
|
Hi Dilma,
Can you please post here the steps to setup it ?
Thanks
Josep
|
Back to Top |
|
|
Dima Newbie
Joined: 27 March 2014 Location: Finland
Online Status: Offline Posts: 14
|
Posted: 27 March 2014 at 11:03am | IP Logged
|
|
|
Progress update:
Finished testing on Android, sync works fine and in both ways!
Now it works on Android and Apple laptop.
At Apple laptop, DAV Server url goes without 'http://' and without '/dav.php'
I don't have iPhone and can't test it now, need to find iPhone.
Tried Windows phone, no success yet, there is application for dav sync, I am trying to find guy who made this app, looks like problem in his app.
aplitec, I noticed only two corrections
1. In .htaccess I added following:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
2. file data/settings/config.php
added line in array
'labs.dav.use-browser-plugin' => true,
|
Back to Top |
|
|
aplitec Newbie
Joined: 27 March 2014
Online Status: Offline Posts: 7
|
Posted: 28 March 2014 at 8:53am | IP Logged
|
|
|
Hi Dima,
thanks for sharing.
I made your changes and doesn't work for me.
Can you post the correct URL to sync ?
Or better. Can you post all the steps you made to sucessfully sync in Android ?
I have an iPhone to test too.
Thanks
Josep
|
Back to Top |
|
|
aplitec Newbie
Joined: 27 March 2014
Online Status: Offline Posts: 7
|
Posted: 01 April 2014 at 2:35am | IP Logged
|
|
|
Hi Igor,
do you know how to apply the changes that Dima wrote ?
and what is the sync URL ?
can you make tests ?
Josep
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 01 April 2014 at 2:49am | IP Logged
|
|
|
If I got this correctly, Dima has supplied those settings in .htaccess file placed under WebMail Pro directory. Typical sync URL looks like http://domain.com/webmail/dav.php/ - but honestly, I don't have any idea if it's going to work for cPanel. We plan to run tests on cPanel install provided to us by one of the customers, no ETA on this though.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Dima Newbie
Joined: 27 March 2014 Location: Finland
Online Status: Offline Posts: 14
|
Posted: 01 April 2014 at 3:11am | IP Logged
|
|
|
Hi all, sorry I was busy that days.
Aplitec, as Igor mentioned I corrected .htaccess file, and data/settings/config.php file, you can see that changes in my post above.
In wabmail root folder you should edit or create .htaccess file and add following:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
Also in file data/settings/config.php
add line in array
'labs.dav.use-browser-plugin' => true, (check that comma properly plased)
It works fine with Android, you just need to setup davsync apps for calendar and contacts to your Android device, I don't remember names right now, I just took it from top in Android market. If you need names, let me know, I'll check it when I be home.
With Apple laptop it works fine as well, nothing special there, just setup accounts in Address book and Calendar.
It tried iPhone from shop, no success, but I didn't have enough time to play with it.
Aplitec, if you have more specific questions please let me know.
Igor, I can give you access to my test installation if you need it for investigation.
|
Back to Top |
|
|
aplitec Newbie
Joined: 27 March 2014
Online Status: Offline Posts: 7
|
Posted: 02 April 2014 at 12:11am | IP Logged
|
|
|
Hi,
I already did the changes in the Webmail Pro folder, but is not working.
What is the URL ?
Putting https://www.mydomain.com:2096/cpsess1541930379/3rdparty/afterlogic/dav.php in a browser asks the user and password again and again.
Moreover this is a dinamic URL and can't use it.
Thanks
Josep
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 02 April 2014 at 1:59am | IP Logged
|
|
|
I have a question for Dima as well: did you actually use cPanel installer for WebMail Pro, or you have set up regular package under specific domain?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Dima Newbie
Joined: 27 March 2014 Location: Finland
Online Status: Offline Posts: 14
|
Posted: 03 April 2014 at 1:48am | IP Logged
|
|
|
Hi, I used regular package under subdomain, I can't install trial under cpanel I'll do it if I buy full license.
aplitec, did you added into config.php
'labs.dav.use-browser-plugin' => true, (check that comma properly plased) ? That fixed problem with password request loop for me.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 03 April 2014 at 2:06am | IP Logged
|
|
|
Quote:
Hi, I used regular package under subdomain, I can't install trial under cpanel I'll do it if I buy full license. |
|
|
Actually, that shouldn't make any difference for installing under cPanel. Trial and licensed product is the same package, only license key is different, so you can install in trial mode and then replace a key upon purchasing a license.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Dima Newbie
Joined: 27 March 2014 Location: Finland
Online Status: Offline Posts: 14
|
Posted: 03 April 2014 at 2:20am | IP Logged
|
|
|
Igor wrote:
Actually, that shouldn't make any difference for installing under cPanel. Trial and licensed product is the same package, only license key is different, so you can install in trial mode and then replace a key upon purchasing a license.
--
Regards,
Igor, AfterLogic Support |
|
|
Technically yes, but this production environment and my customers currently use Webmail lite, I can't replace it before I made final decision to buy it. I am not sure yet, does it make sense to upgrade lite.
|
Back to Top |
|
|
aplitec Newbie
Joined: 27 March 2014
Online Status: Offline Posts: 7
|
Posted: 03 April 2014 at 5:53am | IP Logged
|
|
|
Hi,
Dima, What URL are you using ?
Here are my config.php:
Code:
<?php
$aSieveDomains = array('imap.domain1.com', 'imap.domain2.com');
return array(
'sieve' => false,
'sieve.autoresponder' => true,
'sieve.forward' => true,
'sieve.filters' => true,
'sieve.config.host' => '',
'sieve.config.port' => 2000,
'sieve.config.filters-folder-charset' => 'utf-8', // [utf7-imap, utf-8]
'sieve.config.domains' => $aSieveDomains,
'labs.dav.use-browser-plugin' => true,
);
|
|
|
and .htaccess
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
|
|
|
I used the cPanel installer.
Josep
|
Back to Top |
|
|