webdav ubuntu 9.04

本文详细介绍了Apache服务器的配置方法,包括如何设置SSL访问、使用LDAP验证及通过其他验证方式配置DavOn权限等。同时提供了具体配置示例,帮助读者更好地理解和应用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[url]http://www.ixpub.net/viewthread.php?tid=671064&highlight=apache[/url]
Windows XP客户端:
[url]http://jakarta.apache.org/slide/xp.html[/url]
使用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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值