Weird WebDAV Error
Posted in Tech
First dog watch, 1 bell (4:42 pm)

I recently configured a WebDAV server and was having strange access errors. The client would report

Listing collection `/': failed:
XML parse error at line 1: Extra content at the end of the document .

When I tried a directory listing.

On the server side, I was getting the error

Provider encountered an error while streaming a multistatus PROPFIND response. [404, #0]

Turns out the solution is one I don't really even understand. Under my Apache config, I changed the <Directory> directives to <Location> directives and everything started working.

According to the Apache online manual, you should only use Location when you're applying directives to directories outside the local (jailed) filesystem. These are simple, local directories I'm configuring.

Like I said, weird.

Leave a Comment »