Fedora 20
Sponsored Link

Configure WebDAV2014/01/01

 
Configure httpd to use WebDAV function.
[1] For example, Make a directory [webdav] and it makes possible to connect to WebDAV directory only by SSL.
[root@www ~]#
mkdir /home/webdav

[root@www ~]#
chown apache. /home/webdav

[root@www ~]#
chmod 770 /home/webdav

[root@www ~]#
vi /etc/httpd/conf.d/webdav.conf
DavLockDB "/tmp/DavLock"
Alias /webdav /home/webdav
<Location /webdav>
    DAV On
    SSLRequireSSL
    Options None
    AuthType Basic
    AuthName WebDAV
    AuthUserFile /etc/httpd/conf/.htpasswd
    <RequireAny>
        Require method GET POST OPTIONS
        Require valid-user
    </RequireAny>
</Location>
[root@www ~]#
htpasswd -c /etc/httpd/conf/.htpasswd fedora

New password:
# set password

Re-type new password:
# confirm

Adding password for user fedora
[root@www ~]#
systemctl restart httpd.service

[2]
It's the config on client PC (Windows 7).
(1) Windows 7 does not have webdav function, so Use free software for webdav client. Download 'CarotDAV' for free from following site.
http://www.rei.to/carotdav_en.html
After downloading, Install and start CarotDAV, the following screen is shown, Click 'File'-'New Connection'-'WebDAV'.
(2) Input any name in 'Setting Name' field and input [server name:webdav directory] in 'URI' field and input user name and password like follows.
(3) Just added the connection like follows, then click the icon to connect.
(4) The waring is shown like follows, it's SSL certificates is not installed on your PC, it's no ploblem, Click 'Ignore' and go next.
(5) Just accessed.
Matched Content