• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Horde 5.2 and CalDAV (for e.g. Thunderbird/Lightning) on HTTPS

Boas Simon

Basic Pleskian
Hi all,

I tried to use CalDAV for calendar-sync with Thunderbird/Lightning, but got authentication errors. I found a (german) solution for that under https://oli.new-lan.de/2015/02/ples...av-webdav-authentication-failed/#comment-4098 (Thanks Oli!!!) but that solution obviosly does not include https. The solution says: create a new file (say 2_caldav_fix.conf) in /etc/apache2/plesk.conf.d/webmails/horde with:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>​

So far, so good. I could use CalDAV now with http, but I want that encrypted calendar data as well. I added the same rule for mod_ssl.c as follows:

<IfModule mod_ssl.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>​

but this seems to be rubbish ....

Any ideas?
 
Replace the content of the file with this one line:
Code:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
I created a file (/etc/apache2/plesk.conf.d/webmails/_dav_fix.conf) with this content, restarted apache and it worked.
 
Boas, Atramasis,
Can you please share the info how i can install CalDAV on Ubuntu, Plesk setup? or is it built in inside Horde? is there any guide for this? Thank you for your reply.
 
Back
Top