Skip to content

Issue with Uploading files: 404 Not found (but connecting works fine) #46

Open
@JGStyle

Description

@JGStyle

Hi, I set my config up according to the documentation:

webdav.my.domain.tld {
	root /home/example/webdav

	basic_auth {
		user $2a$14$myhash.ahlsdfkh.myhash.D9lvsasdl4EPF2xi
	}

	webdav

	log /etc/caddy/access-webdav.log
}

Connecting works fine

cadaver https://webdav.my.domain.tld
Authentication required for restricted on server `webdav.my.domain.tld':
Username: user
Password:

But uploading files does not work, resulting in 404!

dav:/> put ./test.md
Uploading ./test.md to `/test.md':
Progress: [=============================>] 100.0% of 153 bytes failed:
404 Not Found
Terminated by signal 2.
Connection to `webdav.my.domain.tld' closed.

Is it not supported or a misconfiguration on my side? The folder /home/example/webdav has access rights to allow everyone to read, write and execute

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