Configuring WebDAV Services in WD MyCloud (V04)

Source: Internet
Author: User

MyCloud up to V04 (current v04.01.00-408) is always very fragile, install a aria2 accidentally on the brick, but since the dashboard is based on Apache, and a variety of clues to establish WebDAV or a chance, the steps are as follows:


Preparatory work


0.SSH Login to MyCloud


1. Create a Directory

The working directory of WebDAV is established first and can be established according to individual needs (using the DF command to view the directory structure)

Mkdir/nfs/public/webdav

After the directory is established to assign permissions, otherwise WebDAV access is not normal, www-data this user is the APACHE HTTP service user information, according to /etc/apache2/envvars this file apache_run_user Variable settings

Chown Www-data/nfs/public/webdav


2. Generate Apache Authentication file, username WebDAV, follow the prompts two times to enter the password you need to set

Htpasswd-c/etc/apache2/passwd.dav WebDAV


Configuration


3. Configure the virtual directory

Enter the directory where the reference configuration file is located

Cd/etc/apache2/sites-enabled

Create a new profile webdav.conf content is

<ifmodule mod_dir.c>
#WebDAV Config 2014-11-16
#WebDAV Path/nfs/public/webdav
Alias/webdav/nfs/public/webdav
<Directory/nfs/Public/webdav>
Options Indexes MultiViews
AllowOverride None
Order Allow,deny
Allow from all
</Directory>
<Location/webdav/>
DAV on
AuthType Basic
AuthName "WebDAV"
Authuserfile/etc/apache2/passwd.dav
Require Valid-user
</Location>
#End WebDAV Config
</IfModule>


Verify

4.Apache Check Configuration

Apache2ctl Configtest

Result Syntax OK


5. Restart the service

/etc/init.d/apache2 Reload

Output OK Word.


Browser Access Http://IP (MC IP)/webdav, the Index of/webdav configuration is successful, other applications can be accessed, such as OmniFocus


Resources

Main steps:

Http://bbs.feng.com/read-htm-tid-6592882.html

Virtual Directory configuration:

http://blog.csdn.net/u010175124/article/details/18220495


This article is from the "persist in Treatment" blog, please make sure to keep this source http://liongmagezi.blog.51cto.com/2848085/1577229

Configuring WebDAV Services in WD MyCloud (V04)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.