However, all files and folders must be owned by the Apache web server (_There is an overview of Apple’s configuration of the Apache httpd server see their documentation website. You will also be able to use posix group permissions to control access to the shares. This configuration will emulate Apple’s configuration by allowing you to login to a WebDAV share using system account credentials. You should also be comfortable with the command line. This requires some knowledge of both the Apache web server and Apple’s implementation. Instead of using OS X Server’s built-in file sharing WebDAV configuration, we recommend manually configuring a WebDAV share by editing the appropriate Apache configuration file. We don’t recommend using it at this time.
In our experience this configuration has had a number of hard-to-identify bugs that can corrupt your data. However, this WebDAV implementation is a fairly complex configuration that utilizes a proxy to create Apache processes that run as user accounts. OS X Server includes WebDAV as one of the options for file sharing. These instructions are offered as guidance for those interested in self-hosting, but should not be considered a comprehensive overview of the Apache implementation process. You should be comfortable with the responsibilities of maintaining a server, including keeping your Mac up to date with the latest security patches.
These steps assume that you’re familiar with the Apache web server and understand this risk.
IMPORTANT: When you expose files and folders on your computer to the internet (even with password protection), you assume some risk. Please note: due to the wide array of possible setup configurations and outside factors involved with custom hosting setups, troubleshooting, setting up, or administering WebDAV servers is beyond the scope of the tech support we are able to provide.