Really bizarre problem with Sabredav

Cliff Wells cliff at develix.com
Fri Apr 20 20:05:40 UTC 2012


On Thu, 2012-04-19 at 20:01 -0400, squimmy wrote:
> Hi everyone,
> 
> I've been desperately trying to get SabreDav working with Nginx for the
> last 3 days almost to no avail. Well, with some success actually. By
> following the instructions here:
> http://blog.carlkoepke.com/index.php/2011/12/09/nginx-can-do-web-dav-with-a-little-help-from-a-friend/
> 
> I can set it up so I can login. I can create folders too. I can't upload
> files though...well, I can't upload files with file extensions actually,
> and it's this I find really real really bizarre. If I try and upload
> blah.blah Transmit returns 405 Not Allowed and in the error logs in
> Nginx I get something like "access forbidden by rule" but if I then
> upload blah without the extension it works?!?! So i'm mostly getting
> lots of 405 Not Allowed's :(

Without seeing any config or knowing which extensions you refer to, I'm
going to guess that you have a location that matches those extensions
(any chance they are .php?), and that location is handling the PUT
(hence, 405 method not allowed) rather than your DAV location.

Regards,
Cliff



> I'm pretty sure this is an Nginx issue not a Sabredav issue.
> 
> Help would be really, really, really appreciated.
> 
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,225539,225539#msg-225539
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx




More information about the nginx mailing list