![linux webdav server linux webdav server](https://www.server-world.info/en/Ubuntu_20.04/httpd/img/10.png)
Let's copy the nf file from “ sites available” to “ enabled sites” with this command: ~$ sudo a2ensite nfīefore restarting Apache we need to create a password to access the WebDAV shares ( USER must be a user of the system): ~$ sudo htpasswd -c /var/www/webdav/passwd.dav USER Now let's save and close the file with ctrl + o and ctrl + c.
![linux webdav server linux webdav server](https://assets.digitalocean.com/articles/webdav_access/7.png)
Note the local address “ You will need to enter the real address of the site administrator. The contents of the file: NameVirtualHost * conf which will contain instructions for Apache for it to “notice” of the virtual host: ~$ sudo nano /etc/apache2/sites-available/nf It is important that the owner of the directory and all content is Apache: ~$ sudo chown www-data.www-data /var/www/webdav
![linux webdav server linux webdav server](https://linuxhint.com/wp-content/uploads/2021/05/word-image-586.png)
In the next step you will create the necessary environment for the host to operate: specific directories, related permissions, changes to the file. We restart the web server with the command: ~$ sudo /etc/init.d/apache2 restart Virtual host configuration We open a terminal and type: ~$ sudo a2enmod dav Precise also confirm that this blog can not be called news organization for the purpose of the recent laws and decree-laws now in force.įirst we enable the modules necessary for the functioning of WebDAV. Are otherwise conducive to exchanging links, Pingback, or any other form of sharing remains free as long as free, no gain or for me, or for other others. For this reason I give up right away to the inclusion of my articles on other sites they can develop a financial return (per se or other) the inclusion of these items. My real contribution is the direct payment of the domain and the web space on which it is hosted on this site, also contribute with my items, I write for the good of the community and for which I do not receive any compensation. I firmly believe in the open source philosophy, and I write my articles to help the Internet community to grow for free.