• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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