Apache/WebDAV: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==References== * [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] * [...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Install== | |||
<source lang="bash"> | |||
apachectl -M | |||
apache2ctl -M | |||
a2enmod dav | |||
a2enmod dav_fs | |||
</source> | |||
==WebDAV== | |||
<code>nano /etc/apache2/sites-enabled/000-default.conf</code> | |||
<source lang="ini" start="31" line> | |||
Alias /webdav /var/www/wdav | |||
<Directory /var/www/wdav> | |||
DAV On | |||
AuthType Digest | |||
AuthName "webdav" | |||
AuthUserFile /etc/apache2/users.password | |||
Require valid-user | |||
</Directory> | |||
</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>