Apache WebDAV (Linux): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 28: | Zeile 28: | ||
sudo chown root:www-data /var/www/davtest/passwd.dav | sudo chown root:www-data /var/www/davtest/passwd.dav | ||
sudo chmod 640 /var/www/davtest/passwd.dav | sudo chmod 640 /var/www/davtest/passwd.dav | ||
</pre> | |||
== Testen == | |||
<pre> | |||
sudo apt-get install cadaver | |||
</pre> | </pre> | ||
Version vom 28. Januar 2018, 18:11 Uhr
Noch in Bearbeitung
Installation
sudo a2enmod dav sudo a2enmod dav_fs
sudo service apache2 restart
Installation
sudo mkdir /var/www/davtest/ sudo chown -R www-data:www-data /var/www/davtest/
cd /etc/apache2/sites-available/
sudo htpasswd -c /var/www/davtest/passwd.dav <user> sudo chown root:www-data /var/www/davtest/passwd.dav sudo chmod 640 /var/www/davtest/passwd.dav
Testen
sudo apt-get install cadaver
Links
https://www.techrepublic.com/article/how-to-enable-webdav-on-your-ubuntu-server/
https://httpd.apache.org/docs/2.4/mod/mod_dav.html
Zurück zu Ubuntu