Apache/WebDAV: Difference between revisions

From Chorke Wiki
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] * [...")
 
No edit summary
Line 1: Line 1:
==Install==
<source lang="bash">
apachectl -M
apache2ctl -M
a2enmod dav
a2enmod dav_fs
</source>
==WebDAV==
<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-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

Alias /webdav /var/www/wdav

<Directory /var/www/wdav>
    DAV On
    AuthType Digest
    AuthName "webdav"
    AuthUserFile /etc/apache2/users.password
    Require valid-user
</Directory>


References