What is WebDAV? Simply put: "Web-based distributed creation and version" WebDAV. It is an HTTP protocol that allows users to collaborate to edit and manage extensions of files on remote Web servers. I heard that Apple's icloud is also implemented based on webdav. How can I configure the webdav server with Ubuntu? First understand some of webdav open source projects and business projects, visit this link: http://webdav.org. Enter the terminal: Step 1: Install apa
What is WebDAV?
Simply put: "Web-based distributed creation and version" WebDAV. It is an HTTP protocol that allows users to collaborate to edit and manage extensions of files on remote Web servers. I heard that Apple's icloud is also implemented based on webdav. How can I configure the webdav server with Ubuntu?
First understand some of webdav open source projects and business projects, visit this link: http://webdav.org.
Enter the terminal:
Step 1: Install The apache2 service:
Sudo apt-get install apache2
Step 2: Enable the associated modules:
Sudo a2enmod dav_fs
Sudo a2enmod dav
Sudo a2enmod dav_lock
Step 3: Associate the SO file:
Sudo ln-s/etc/apache2/mod-available/dav. load/etc/apache2/mod-enabled/dav. load
Sudo ln-s/etc/apache2/mod-available/dav_fs.load/etc/apache2/mod-enabled/dav_fs.load
Sudo ln-s/etc/apache2/mod-available/dav_lock.load/etc/apache2/mod-enabled/dav_lock.load
Sudo ln-s/etc/apache2/mod-available/dav_fs.conf/etc/apache2/mod-enabled/dav_fs.conf
Step 4: restart the service:
Sudo/etc/init. d/apache2 restart
Step 5: Create a VM:
Mkdir/var/www/sync
Chown www-data: www-data/var/www/sync
Step 6: create a user:
Sudo htpasswd-c/var/www/me. dav terry
-- You will be requested to re-confirm the password here
Sudo chown root: www-data/var/www/me. dav
Sudo chmod 640/var/www/me. dav
Step 7: configure the VM:
Sudo gedit/etc/apache2/sites-available/default
Add the following configuration information to the VirtualHost node:
DocumentRoot/var/www/sync/
Options Indexes MultiViews
AllowOverride None
Order allow, deny
Allow from all
Alias/webdav/var/www/sync
DAV On
AuthType Basic
AuthName "webdav"
AuthUserFile/var/www/me. dav
Require valid-user
Last step: restart the service and log on! Use the command line cadaver to log on
Sudo/etc/init. d/apache2 restart
Sudo apt-get install cadaver
Cadaver http: // 127.0.0.1/webdav/
OK.