How do I enable WebDAV for eZ Publish?

1.) Add a new domain alias which is a subdomain with the hostname "webdav" of your current domain. Example: webdav.example.com

2.) Check your .htaccess file and see if it still includes the webdav rewrite rule that we have added in our default .htaccess.

cat ~/.htaccess

3.) Enable the webdav server by editing the file settings/override/webdav.ini.append.php

[GeneralSettings]
EnableWebDAV=true

Please make sure you use either eZ version 4.0.1 and later or 4.1 and later else WebDAV will not run properly. The reason for this is a certain eZ bug.