GNOME Bugzilla – Bug 338867
wrong implementation of webDAV
Last modified: 2006-07-13 15:24:09 UTC
Please describe the problem: I want to make a webdav-enabled directory (http://www.aegee.org/chair/presentations/agora), where everybody can upload files, but only certain authenticated users can download them. To achive this in httpd 2.2.0 I have the configuration <Limit GET DELETE> Require user "me" </Limit> Restricting GET in httpd means also restricting HEAD. This interpretation will not be changed (http://issues.apache.org/bugzilla/show_bug.cgi?id=39323). And now, when I try to upload a file, PROPFIND of that file give 404, since the file does not exist. Then according to modules/http-neon-method.c, gnome-vfs fails back to HEAD isntead of PROPFIND. However in my case HEAD is disable, but PROPFIND is enabled, even if it returns not always 207, and I would like to have the opportunity not to use HEAD Steps to reproduce: Actual results: Expected results: Does this happen every time? yes Other information:
I have fixed this on cvs HEAD. We should now return a GNOME_VFS_ERROR_NOT_FOUND immediately if we receive a 404 for the PROPFIND. I thought that the server should return a 207 with and xml stating a 404 for the URL. I re-read the RFC and its not entirely clear about that. Anyway, I hope its fixed for you.