[ Thanks to Falko
Timme for this link. ]
“3 Creating A Virtual Host
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:mv /etc/apache2/sites-available/default
/etc/apache2/sites-available/default_orig
vi /etc/apache2/sites-available/default”