ako673de Wrote:
-------------------------------------------------------
> And there is another bug I observed in conjunction with "Netdrive":
> It's creating new folders with "MKCOL <foldername>" instead of "MKCOL
> <foldername>/". nginx however is very picky with that missing "/". The
> result is a "209" error ("conflicts"). Is that a bug of Netdrive? I
> don't know, but Netdrive is around for quite a while and nobody seems
> to have problems with creating folders. IMO a missing "/" should not
> cause complete failure, especially if the target MUST be a folder
> (MKCOL)! Is there a way to work this around in the nginx config file?
> Maybe by some rewrite rule?
Worked around with the following config hack:
if ($request_method = MKCOL) { rewrite ^(.*)/*$ $1/; }
!!!
Still, for the moment "MOVE" and "COPY" methods need to be disabled because they simply do not work. The loss is not too big anyway. You can still download, (delete), and reupload, which is the same as MOVE or COPY... but still should be fixed if you find the time.
-------------------------------------------------------
> And there is another bug I observed in conjunction with "Netdrive":
> It's creating new folders with "MKCOL <foldername>" instead of "MKCOL
> <foldername>/". nginx however is very picky with that missing "/". The
> result is a "209" error ("conflicts"). Is that a bug of Netdrive? I
> don't know, but Netdrive is around for quite a while and nobody seems
> to have problems with creating folders. IMO a missing "/" should not
> cause complete failure, especially if the target MUST be a folder
> (MKCOL)! Is there a way to work this around in the nginx config file?
> Maybe by some rewrite rule?
Worked around with the following config hack:
if ($request_method = MKCOL) { rewrite ^(.*)/*$ $1/; }
!!!
Still, for the moment "MOVE" and "COPY" methods need to be disabled because they simply do not work. The loss is not too big anyway. You can still download, (delete), and reupload, which is the same as MOVE or COPY... but still should be fixed if you find the time.