mholt / caddy-webdav

WebDAV handler module for Caddy
Apache License 2.0
198 stars 22 forks source link

How to set up a basic webdav server. #14

Closed ArcCal closed 3 years ago

wader commented 3 years ago

Could it be that root * will match all requests so they don't reach webdav?

mholt commented 3 years ago

@wader Close! root doesn't do anything except set a variable; it's always a pass-thru (non-terminal) handler.

@NetHeritage's mistake is using order webdav last which puts it after file_server, because last means last. So the file_server handles the request first, which is a terminal handler. OP simply needs to follow readme instructions: https://github.com/mholt/caddy-webdav#syntax