Fedora 12
Sponsored Link

Configure WebDAV2010/06/13

  This is the example to configure WebDAV.

[1] The example shows to configure that create a directory which requires authentication and SSL connection.
[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
   Options None
   AuthType Basic
   AuthName WebDAV
   AuthUserFile /etc/httpd/conf/.htpasswd
       Order allow,deny
       Allow from 10.0.0.
# IP address you allow

       Require valid-user

[root@www ~]#
htpasswd -c /etc/httpd/conf/.htpasswd fedora

New password:
# set password

Re-type new password:
Adding password for user fedora
[root@www ~]#
/etc/rc.d/init.d/httpd restart

Stopping httpd:
[ OK ]

Starting httpd:
[ OK ]

[2] Configure Client PC. This example is on Windows XP.
Open 'My Network Places' and Click 'Add a network place'.
[3] Click 'Next'
[4] Click 'Next'
[5] Specify network address of shared folder.
[6] Security alert is shown like below because I made Certification File for SSL by myself. it's no ploblem. Click 'Yes' and Proceed.
[7] Input user name and password you set.
[8] Input any name of shared folder you like.
[9] Click 'Finish' and go next.
[10] It could access to shared folder.
Matched Content