|
Configration of WebDAV
|
| Here is the example to configure WebDAV. |
|
| [1] | For example, Make a directory [security] that owner is 'apache', group is 'security', and it makes possible to connect to WebDAV directory only by SSL. |
|
[root@www ~]# mkdir /home/security [root@www ~]# chown apache. /home/security [root@www ~]# chmod 770 /home/security [root@www ~]# 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@www ~]# htpasswd -c /etc/httpd/conf/.htpasswd cent New password: # set password Re-type new password: # verify Adding password for user cent [root@www ~]# /etc/rc.d/init.d/httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ]
|
| [2] | It's a config on client PC (Windows XP). |
| (1) | Open 'My Network Places' and Click 'Add a network place'. |
|
| (2) | Click 'Next' |
|
| (3) | Click 'Next' |
|
| (4) | Specify network address of shared folder. |
|
| (5) | Input user name and password you set. |
|
| (6) | Input any name of shared folder you like. |
|
| (7) | Click 'Finish' and go next. |
|
| (8) | Input user name and password again. |
|
| (9) | Done to access. |
|