0-length files and auth setup (apache) #1019
-
I was unable to send files through a mount point. I had read-only access for unauthenticated users configured:
The problem was gone when I disabled the read-only access.
I'm using digest auth and https. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi, I don't know much about your setup, but according to I can see, everything is working fine. You are only authorizing
What is your question? Are you trying to use WebDAV? What are you trying to achieve? |
Beta Was this translation helpful? Give feedback.
-
I didn't make my intentions clear, I'm sorry. It's either a heads-up for someone who could be having similar issues or a bug report if it's not intended behaviour of DAVx⁵.
Yes, using a DAVx⁵ mount point and self-hosted WebDAV on apache. Material Files app did function correctly with the hybrid auth setup, DAVx⁵ did not, so I thought it could be a bug. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the clarification. I'm using apache as the WebDAV server. The read-only setup in my config came from the template on Arch Wiki. |
Beta Was this translation helpful? Give feedback.
So you are suggesting that they just disable read-only? I'm not sure what you mean.
Either case, I think that read-only should be working fine on DAVx⁵, no errors should be thrown.
Which, by the way, this is not how read-only works in DAV. The server must be configured to set a folder as read-only, not the HTTP proxy (Apache). DAV clients perform a propfind on the collection to check whether the authorized user has write permissions. You really shouldn't configure write access based on HTTP operations. Just to make it clear, this has to be configured in the DAV …