PROPFIND Method Not Allowed caldav-beta9

Ken Murchison murch at andrew.cmu.edu
Wed Jun 4 12:03:10 EDT 2014


On 06/04/2014 11:59 AM, Jean-Christophe Delaye wrote:
> On 04/06/2014 13:08, Ken Murchison wrote:
>> On 06/04/2014 04:03 AM, Jean-Christophe Delaye wrote:
>>> On 03/06/2014 20:20, Ken Murchison wrote:
>>>> Can you telnet to port 80 on the server and give it the following
>>>> command (followed by 2 carriage returns):
>>>>
>>>> OPTIONS * HTTP/1.0
>>>>
>>>
>>> Thanks Ken,
>>>
>>>
>>> Connected to cyrus0.eurecom.fr.
>>> Escape character is '^]'.
>>> OPTIONS * HTTP/1.0
>>>
>>> HTTP/1.1 200 OK
>>> Connection: close
>>> Date: Wed, 04 Jun 2014 08:00:23 GMT
>>> Cache-Control: no-cache
>>> Server: Cyrus/v2.4.17-caldav-beta9 (Murder) Cyrus-SASL/2.1.26
>>> OpenSSL/1.0.0 zlib/1.2.3 libxml2/2.6.23
>>> Allow: OPTIONS, GET, HEAD
>>> Content-Length: 0
>>
>>
>> OK.  It looks like configure didn't find some of the necessary
>> prerequisites for CalDAV support when you compiled Cyrus.  You need to
>> have both SQLite and libical.  When support for CalDAV is compiled in
>> and enabled, your OPTIONS response should look something like this:
>>
>> HTTP/1.1 200 OK
>> Connection: close
>> Date: Wed, 04 Jun 2014 11:02:57 GMT
>> Cache-Control: no-cache
>> Server: Cyrus/git2.4.17-caldav-beta9+163 (Murder) Cyrus-SASL/2.1.26
>> OpenSSL/1.0.1e zlib/1.2.7 libxml/2.9.1 SQLite/3.7.13 libical/0.48
>> DAV: 1, 2, 3, access-control, extended-mkcol
>> DAV: calendar-access, calendar-auto-schedule
>> Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE
>> Allow: PROPFIND, REPORT, COPY, MOVE, LOCK, UNLOCK, PROPPATCH, MKCOL, ACL
>> Allow: MKCALENDAR
>> Content-Length: 0
>>
>>
>
> Ok that's it. It was a configure issue using ICAL_LIBS the linker 
> flags for ICAL which had overriding pkg-config.
>
> Now, I have the following http response:
>
> HTTP/1.1 200 OK
> Connection: close
> Date: Wed, 04 Jun 2014 14:57:38 GMT
> Cache-Control: no-cache
> Server: Cyrus/v2.4.17-caldav-beta9 (Murder) Cyrus-SASL/2.1.26 
> OpenSSL/1.0.0 zlib
> /1.2.3 libxml2/2.6.23 SQLite/3.8.4.3 libical/1.0
> iSchedule-Version: 1.0
> DAV: 1, 2, 3, access-control, extended-mkcol
> DAV: calendar-access, calendar-auto-schedule
> Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE
> Allow: PROPFIND, REPORT, COPY, MOVE, LOCK, UNLOCK, PROPPATCH, MKCOL, ACL
> Allow: MKCALENDAR
> Content-Length: 0
>
> I confirm that module automatically create the required calendars for a
> user at the first login.
>
> cyrus0.eurecom.fr> lm user.standard.%.%
> user.standard.#addressbooks.Default (\HasNoChildren)
> user.standard.#calendars.Default (\HasNoChildren)
> user.standard.#calendars.Inbox (\HasNoChildren)
> user.standard.#calendars.Outbox (\HasNoChildren)
> user.standard.Junk.Spam_Client (\HasNoChildren)
> user.standard.Junk.Spam_Server (\HasNoChildren)
>
> cyrus0.eurecom.fr> lam user.standard.#calendars.Default
> standard lrswipkxtecda9
> anyone 9
>
> But, I have to deal with "404 Not Found".
>
> [ID 596527 local2.notice] login: standard Basic+TLS User logged in
> [ID 693975 local2.debug] dav_exec(standard.dav): CREATE TABLE IF NOT 
> EXISTS ical_objs ( rowid INTEGER PRIMARY KEY, creationdate INTEGER, 
> mailbox TEXT NOT NULL, resource TEXT NOT NULL, imap_uid INTEGER, 
> lock_token TEXT, lock_owner TEXT, lock_ownerid TEXT, lock_expire 
> INTEGER, comp_type INTEGER, ical_uid TEXT, organizer TEXT, dtstart 
> TEXT, dtend TEXT, recurring INTEGER, transp INTEGER, sched_tag TEXT, 
> UNIQUE( mailbox, resource ) );
> [ID 693975 local2.debug] dav_exec(standard.dav): CREATE INDEX IF NOT 
> EXISTS idx_ical_uid ON ical_objs ( ical_uid );
> [ID 693975 local2.debug] dav_exec(standard.dav): CREATE TABLE IF NOT 
> EXISTS vcard_objs ( rowid INTEGER PRIMARY KEY, creationdate INTEGER, 
> mailbox TEXT NOT NULL, resource TEXT NOT NULL, imap_uid INTEGER, 
> lock_token TEXT, lock_owner TEXT, lock_ownerid TEXT, lock_expire 
> INTEGER, version INTEGER, vcard_uid TEXT, kind INTEGER, fullname TEXT, 
> name TEXT, nickname TEXT, email TEXT, UNIQUE( mailbox, resource ) );
> [ID 693975 local2.debug] dav_exec(standard.dav): CREATE INDEX IF NOT 
> EXISTS idx_vcard_uid ON vcard_objs ( vcard_uid );
> [ID 702911 local2.info] as "standard" with "Mozilla/5.0 (X11; Linux 
> x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 Lightning/2.6.5"; 
> "PROPFIND /dav/calendars/users/standard/Default/ HTTP/1.1" (depth=0) 
> => "404 Not Found" (error=The requested URL was not found on this 
> server.)


/dav/calendars/users/standard/Default/

should be:


/dav/calendars/user/standard/Default/




-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20140604/1d403c68/attachment.html 


More information about the Info-cyrus mailing list