Skip to content

405 Method not allowed on default configuration #19

Open
@shural

Description

@shural

Clean download (from https://caddyserver.com/download) and installation of Caddy2+webdav on Mac OS Catalina.

Browser gets status code 405 and shows Method not allowed for https://localhost/dav, with Caddyfile extracted from Readme as below,

localhost

root * /srv

route {
rewrite /dav /dav/
webdav /dav/* {
prefix /dav
}
file_server
}
<<<

If replaced it with below (basically remove rewrite and prefix), everything works with http://localhost URL.

localhost
root * /srv
route {
webdav {
}
file_server
}
<<<

Cannot find any clues anywhere :(... please kindly share any advices. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions