Sorry, should have been specific.
Linux/Apache box with Plesk 8.something.
I presume I can specify a small area of one of the virtual servers as webDav?
That's right. Here are example steps to activate WebDAV on linux server with Plesk I found somewhere in Internet:
===============================================================================
You can put the following in a vhost.conf, or put it in dav.conf and include dav.conf from your vhost.conf file. These would both go in the conf directory of your site.
- To create a read-only Dav directory, use the following. Substitute the correct paths for <vhosts>, <domain_name> and <dav_dir>.
<Directory "/var/www/vhosts/<domain_name>/httpdocs/<dav_dir>">
DAV on
AllowOverride None
<Limit HEAD GET POST OPTIONS PROPFIND>
Allow from all
</Limit>
<Limit MKCOL PUT DELETE LOCK UNLOCK COPY MOVE PROPPATCH>
Deny from all
</Limit>
</Directory>
You can then mount the directory using http://<domain_name>/<dav_dir>
- To create a dav directory that is read/write and password protected, you have a couple of ways to go about it.
1) Using Plesk, create a password protected directory. Then, add something like the following to the .conf file:
<Directory "/var/www/vhosts/<domain_name>/httpdocs/<protected_dir>">
DAV on
AllowOverride none
</Directory>
The usual plesk mechanism will be in charge of authenticating.
Or, you can just do:
<Directory "/var/www/vhosts/<domain_name>/httpdocs/<any_dir>">
DAV on
</Directory>
and then use .htaccess type authentication by putting it in the .htaccess file of the directory.
Do not create an unprotected read/write directory, or you will open your server up to all kinds of hacking.
After all of this, have plesk to regenerate apache configs:
websrvmng -v -a
and then restart Apache using something like:
service httpd restart
===============================================================================
I hope this helps.