Apache/WebDAV: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→WebDAV) |
||
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-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] |
Revision as of 11:02, 31 August 2019
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>