--- /dev/null
+<?php
+
+$scheme = 'http';
+if (strtolower($_SERVER['HTTPS']) == 'on') {
+ $scheme = 'https';
+ }
+
+$config['caldav_calendar_url'] = "$scheme://davical.heureux-cyclage.org/caldav.php/%s/";
+$config['caldav_http_auth_method'] = CURLAUTH_BASIC;
+$config['caldav_principal_url'] = "$scheme://davical.heureux-cyclage.org/caldav.php/%u/";
+$config['default_permissions'] = array('C:read-free-busy');
+$config['enable_calendar_sharing'] = TRUE;
+$config['owner_permissions'] = array
+ ( 'all'
+ , 'read'
+ , 'unlock'
+ , 'read-acl'
+ , 'read-current-user-privilege-set'
+ , 'C:read-free-busy'
+ , 'write-acl'
+ , 'write'
+ , 'write-properties'
+ , 'write-content'
+ , 'bind'
+ , 'unbind'
+ );
+$config['public_caldav_url'] = "$scheme://davical.heureux-cyclage.org/caldav.php/%s/";
+$config['read_profile_permissions'] = array
+ ( 'read'
+ , 'C:read-free-busy'
+ );
+$config['read_write_profile_permissions'] = array('C:read-free-busy', 'read', 'write');