Configure WebDAV2010/11/06 |
Here is the example to configure WebDAV. |
|
[1] | For example, Make a directory [security] and it makes possible to connect to WebDAV directory only by SSL. |
[root@www03 ~]# mkdir /home/security [root@www03 ~]# chown apache. /home/security [root@www03 ~]# chmod 770 /home/security [root@www03 ~]# vi /etc/httpd/conf.d/webdav.conf
Alias /share /home/security <Location /share> DAV On SSLRequireSSL Options None AuthType Basic AuthName WebDAV AuthUserFile /etc/httpd/conf/.htpasswd <LimitExcept GET OPTIONS> Order allow,deny Allow from 10.0.0. # IP address you allow Require valid-user </LimitExcept> </Location> [root@www03 ~]# htpasswd -c /etc/httpd/conf/.htpasswd fedora New password: # set password Re-type new password: # verify Adding password for user fedora [root@www03 ~]# /etc/rc.d/init.d/httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ]
|
[2] | It's a 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.html After downloading, Install and start CarotDAV, the following screen is shown, Click 'Add' button and select '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) | 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. |
(4) | Just accessed. |
Sponsored Link |
|