How To Set Up WebDAV With Apache2 On Debian Lenny

will now create a default Apache vhost in the directory
/var/www/web1/web. For this purpose, I will modify the default
Apache vhost configuration in /etc/apache2/sites-available/default.
If you already have a vhost for which you'd like to enable WebDAV,
you must adjust this tutorial to your situation.

"First, we create the directory /var/www/web1/web and make the
Apache user (www-data) the owner of that directory:

mkdir -p /var/www/web1/web
chown www-data /var/www/web1/web

"Then we back up the default Apache vhost configuration
(/etc/apache2/sites-available/default) and create our own one: