admin 管理员组

文章数量: 887021


2024年3月12日发(作者:有关study的短语)

apache 2.4 配置webdav的用户权限

apache 2.4 配置webdav的用户权限

apache 2.4.1 默认安装目录在/usr/local/apache2/。

一、 中配置如下:

DavLockDB "/usr/local/apache2/var/DavLock"#用户验证需要,不可缺少,且需要

为运行apache的用户可执行权限。

Alias /webdav "/usr/local/apache2/webdav"

<Directory "/usr/local/apache2/webdav">

Dav On

Options Indexes FollowSymLinks Includes

Order Allow,Deny

Allow from all

AllowOverride None

#AuthType Digest

AuthType Basic

AuthName DAV-upload

#You can use the htdigest program to create the password database:

#htdigest -c "/tmp/mips/" DAV-upload admin

#htpasswd -c "/tmp/mips/" admin

AuthUserFile "/usr/local/apache2/"

#AuthDigestProvider file

AuthBasicProvider file

# Allow universal read-access, but writes are restricted

# to the admin user.

# <LimitExcept GET POST PUT OPTIONS>

# require user admin

# Require valid-user


本文标签: 用户 权限 需要