Saturday, 5 October 2013

How to configure webdev

[root@upload ~]# vim /etc/httpd/conf.d/webdav.conf
alias /share /imagedata1/3rdparty_packages/
<Location /share>
   DAV On
   SSLRequireSSL
   Options None
   AuthType Basic
   AuthName WebDAV
   AuthUserFile /etc/httpd/conf/.htpasswd
   <LimitExcept GET OPTIONS>
      Order allow,deny
      Allow from all
# IP address you allow

      Require valid-user
   </LimitExcept>
</Location>

[root@upload ~]# chmod 755 -R /imagedata1/3rdparty_packages/
[root@upload ~]# htpasswd -c /etc/httpd/conf/.htpasswd bala
New password:
Re-type new password:
Updating password for user bala
[root@upload ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                           [  OK  ]

Windows does not have webdav function, so Use free software for webdav client. Download 'CarotDAV' for free from following site.

http://rei.to/carotdav_en.html

Download and install in windows pc


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.  




No comments:

Post a Comment