Apache/WebDAV: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
==WebDAV== | ==WebDAV== | ||
<code>nano /etc/apache2/sites-enabled/000-default.conf</code> | |||
<source lang="ini" start="31" line> | <source lang="ini" start="31" line> | ||
Alias /webdav /var/www/wdav | Alias /webdav /var/www/wdav | ||
Line 20: | Line 22: | ||
</Directory> | </Directory> | ||
</source> | </source> | ||
==References== | ==References== | ||
* [https://www.digitalocean.com/community/tutorials/how-to-configure-webdav-access-with-apache-on-ubuntu-20-04 Configure WebDAV with Apache on Ubuntu 20.04] | |||
* [https://www.digitalocean.com/community/tutorials/how-to-configure-webdav-access-with-apache-on-ubuntu-18-04 Configure WebDAV with Apache on Ubuntu 18.04] | |||
* [https://www.digitalocean.com/community/tutorials/how-to-configure-webdav-access-with-apache-on-ubuntu-14-04 Configure WebDAV with Apache on Ubuntu 14.04] | * [https://www.digitalocean.com/community/tutorials/how-to-configure-webdav-access-with-apache-on-ubuntu-14-04 Configure WebDAV with Apache on Ubuntu 14.04] | ||
* [https://www.digitalocean.com/community/tutorials/how-to-configure-webdav-access-with-apache-on-ubuntu-12-04 Configure WebDAV with Apache on Ubuntu 12.04] | * [https://www.digitalocean.com/community/tutorials/how-to-configure-webdav-access-with-apache-on-ubuntu-12-04 Configure WebDAV with Apache on Ubuntu 12.04] | ||
* [[Apache Basic Authentication]] |
Latest revision as of 06:19, 18 September 2021
Install
apachectl -M
apache2ctl -M
a2enmod dav
a2enmod dav_fs
WebDAV
nano /etc/apache2/sites-enabled/000-default.conf
Alias /webdav /var/www/wdav
<Directory /var/www/wdav>
DAV On
AuthType Digest
AuthName "webdav"
AuthUserFile /etc/apache2/users.password
Require valid-user
</Directory>