test-write and MKCOL
Ask Bjørn Hansen
ask at develooper.com
Sun Apr 6 04:44:19 UTC 2008
On Apr 5, 2008, at 11:51 AM, Timu EREN wrote:
> 2008/04/05 21:16:00 [error] 11629#0: *27 MKCOL can create a
> collection only,
> client: 10.0.0.3, server: mogilestorage, request: "MKCOL /dev1/test-
> write
> HTTP/1.0"
>
> and i looking in mogileFS source code i see this,
> $dev->create_directory("/dev$devid/test-write");
>
> and nginx is say "no end with slash, ok this is not a directory "
> and return
> error,
According to the RFC it seems like it's OK (if not strictly optimal)
to omit the trailing /.
However I changed the code (r1166) to always include it by changing
the create_directory method.
- ask
--
http://develooper.com/ - http://askask.com/
More information about the mogilefs
mailing list