Open timon opened 11 years ago
dav4rack provides a piece of middleware for rack called interceptor that will catch propfinds to non-existent parent paths. It was built intentionally for interactions with webdav on MS. Can you give that a try and see if it resolves the issue you are running into. The README file has an example of its usage. I think that the changes made here may unintentionally break the spec.
The code from Timon fixes mounting as a network drive in Windows 7, but brakes Mac OS X and iOS clients..
My CustomResource overloads root
by adding a user specific directory to the path. I'm not doing anything else except authentication.
I've made a patch that makes dav4rack actually usable with microsoft windows webdav mini redirector — tested it with Windows 8.
The only caveeat is that suburi still can not be used. Windows thinks, that every uri from site root should talk webdav (I overcame this by injecting middleware that fakes PROPFIND / to return suburi as child collection)