`

webdav ubuntu 9.04

阅读更多
http://www.ixpub.net/viewthread.php?tid=671064&highlight=apache
Windows XP客户端:
http://jakarta.apache.org/slide/xp.html
使用ssl访问:/etc/apache2/site-enable/ssl
下面的为使用ldap验证的情况下:
Alias /dav "/usr/dav"
<Location /dav>
    Dav on
    DavMinTimeout 600
    Options Indexes MultiViews FollowSymLinks
    Order Allow,Deny
    Allow from 192.168.236. 
#               <LimitExcept GET PROPFIND OPTIONS REPORT>
       AuthType Basic
       AuthBasicProvider ldap
       AuthName "LDAP Authentication"
       AuthzLDAPAuthoritative off
       AuthLDAPURL ldap://localhost/ou=People,dc=liyh,dc=local?uid
       Require valid-user
#    </LimitExcept>
</Location>

如果使用其他验证方式:
<Location /uploads>
    Dav On
    DavMinTimeout 600
    Options Indexes MultiViews FollowSymLinks
    Order Allow,Deny
    Allow from 192.168.236. 210.76.163.7
    AuthType Digest
    AuthName DAV-upload

    # You can use the htdigest program to create the password database:                                                     
    #   sudo ./htdigest -c "/usr/local/apache2/user.passwd" DAV-upload admin                                                
    AuthUserFile "/usr/local/apache2/user.passwd"
    AuthDigestProvider file
    require valid-user
</Location>

需要建立密码文件:
sudo ./htdigest -c "/etc/apache2/user.passwd" DAV-upload admin
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics