To enable mod_dav, add the following to a container in your httpd.conf file:
Dav On
This enables the DAV file system provider, which is implemented by the mod_dav_fs module. Therefore, that module must be compiled into the server or loaded at runtime using the LoadModule directive.
In addition, a location for the DAV lock database must be specified in the global section of your httpd.conf file using the DavLockDB directive:
DavLockDB /usr/local/apache2/var/DavLock
The directory containing the lock database file must be writable by the User and Group under which Apache is running.
You may wish to add a <Limit> clause inside the <Location> directive to limit access to DAV-enabled locations. If you want to set the maximum amount of bytes that a DAV client can send at one request, you have to use the LimitXMLRequestBody directive. The "normal" LimitRequestBody directive has no effect on DAV requests.
Full Example
DavLockDB /usr/local/apache2/var/DavLock
<Location /foo>
Dav On
AuthType Basic
AuthName DAV
AuthUserFile user.passwd
<LimitExcept GET OPTIONS>
require user admin
</LimitExcept>
</Location>