Apache服务器中配置webdav
来源:互联网 发布:刷手怎么找淘宝商家 编辑:程序博客网 时间:2024/05/29 15:17
————-httpd.conf————————
#…
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
#…
# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf
#…
————httpd-dav.conf————————–
#
# Distributed authoring and versioning (WebDAV)
#
# Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias
# mod_auth_digest, mod_authn_file
#
# The following example gives DAV write access to a directory called
# “uploads” under the ServerRoot directory.
#
# The User/Group specified in httpd.conf needs to have write permissions
# on the directory where the DavLockDB is placed and on any directory where
# “Dav On” is specified.
DavLockDB “D:/Apache Software Foundation/Apache2.2/DAVLock”
Alias /load “D:/Apache Software Foundation/Apache2.2/load”
<Directory “D:/Apache Software Foundation/Apache2.2/load”>
Dav On
Order Allow,Deny
Allow from all
AuthType Basic
AuthName load
# You can use the htdigest program to create the password database
AuthUserFile “D:/Apache Software Foundation/Apache2.2/DavPwd/user.pwd”
#Allow universal read-access, but writes are restricted
# to the admin user.
<LimitExcept GET OPTIONS>
require user dav@MyDomain.com
</LimitExcept>
</Directory>
#
# The following directives disable redirects on non-GET requests for
# a directory that does not include the trailing slash. This fixes a
# problem with several clients that do not appropriately handle
# redirects for folders with DAV methods.
#
BrowserMatch “Microsoft Data Access Internet Publishing Provider” redirect-carefully
BrowserMatch “MS FrontPage” redirect-carefully
BrowserMatch “^WebDrive” redirect-carefully
BrowserMatch “^WebDAVFS/1.[0123]” redirect-carefully
BrowserMatch “^gnome-vfs/1.0″ redirect-carefully
BrowserMatch “^XML Spy” redirect-carefully
BrowserMatch “^Dreamweaver-WebDAV-SCM1″ redirect-carefully
Create Password Database
Use htpasswd.exe to create the password database,it’s a file which AuthUserFile refer to.这是Basic认证,使用bin目录下的htpasswd.exe 去生成上面配置文件中AuthUserFile 所指的那个文件:user.pwd。如果使用摘要认证的话,则使用htdigest.exe,两者的语法是类似的。Execute the command like this:
htpasswd.exe -c “D:/Apache Software Foundation/Apache2.2/DavPwd/user.pwd” dav@MyDomain.com
回车后,会提示让你输入两次密码。
Config WebDAV Client
Windows XP对WebDAV支持得比较好,我们可以使用其网上邻居或者映射网络磁盘的方式连接到WebDAV Server,还可以使用IE连接。在IE中使用“打开Web Folder”的方式打开“http://serverip/load”所指的WebDAV文件夹。
Postscript
有些资料说在XP上需要使用“地址+端口号”或者“地址+#”的方式打开WebDAV文件夹,因为Windows2000和WindowsXP的WebDAV Driver的版本是不同的
DAV的意思是“Distributed Authoring and Versioning”。RFC 2518为HTTP 1.1定义了一组概念和附加扩展方法来把web变成一个更加普遍的读/写媒体,基本思想是一个WebDAV兼容的web服务器可以像普通的文件服务器一样工作;客户端可以通过HTTP装配类似于NFS或SMB的WebDAV共享文件夹。
#…
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
#…
# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf
#…
————httpd-dav.conf————————–
#
# Distributed authoring and versioning (WebDAV)
#
# Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias
# mod_auth_digest, mod_authn_file
#
# The following example gives DAV write access to a directory called
# “uploads” under the ServerRoot directory.
#
# The User/Group specified in httpd.conf needs to have write permissions
# on the directory where the DavLockDB is placed and on any directory where
# “Dav On” is specified.
DavLockDB “D:/Apache Software Foundation/Apache2.2/DAVLock”
Alias /load “D:/Apache Software Foundation/Apache2.2/load”
<Directory “D:/Apache Software Foundation/Apache2.2/load”>
Dav On
Order Allow,Deny
Allow from all
AuthType Basic
AuthName load
# You can use the htdigest program to create the password database
AuthUserFile “D:/Apache Software Foundation/Apache2.2/DavPwd/user.pwd”
#Allow universal read-access, but writes are restricted
# to the admin user.
<LimitExcept GET OPTIONS>
require user dav@MyDomain.com
</LimitExcept>
</Directory>
#
# The following directives disable redirects on non-GET requests for
# a directory that does not include the trailing slash. This fixes a
# problem with several clients that do not appropriately handle
# redirects for folders with DAV methods.
#
BrowserMatch “Microsoft Data Access Internet Publishing Provider” redirect-carefully
BrowserMatch “MS FrontPage” redirect-carefully
BrowserMatch “^WebDrive” redirect-carefully
BrowserMatch “^WebDAVFS/1.[0123]” redirect-carefully
BrowserMatch “^gnome-vfs/1.0″ redirect-carefully
BrowserMatch “^XML Spy” redirect-carefully
BrowserMatch “^Dreamweaver-WebDAV-SCM1″ redirect-carefully
Create Password Database
Use htpasswd.exe to create the password database,it’s a file which AuthUserFile refer to.这是Basic认证,使用bin目录下的htpasswd.exe 去生成上面配置文件中AuthUserFile 所指的那个文件:user.pwd。如果使用摘要认证的话,则使用htdigest.exe,两者的语法是类似的。Execute the command like this:
htpasswd.exe -c “D:/Apache Software Foundation/Apache2.2/DavPwd/user.pwd” dav@MyDomain.com
回车后,会提示让你输入两次密码。
Config WebDAV Client
Windows XP对WebDAV支持得比较好,我们可以使用其网上邻居或者映射网络磁盘的方式连接到WebDAV Server,还可以使用IE连接。在IE中使用“打开Web Folder”的方式打开“http://serverip/load”所指的WebDAV文件夹。
Postscript
有些资料说在XP上需要使用“地址+端口号”或者“地址+#”的方式打开WebDAV文件夹,因为Windows2000和WindowsXP的WebDAV Driver的版本是不同的
DAV的意思是“Distributed Authoring and Versioning”。RFC 2518为HTTP 1.1定义了一组概念和附加扩展方法来把web变成一个更加普遍的读/写媒体,基本思想是一个WebDAV兼容的web服务器可以像普通的文件服务器一样工作;客户端可以通过HTTP装配类似于NFS或SMB的WebDAV共享文件夹。
转载请注明原文地址:http://www.server110.com/apache/201308/519.html
————-httpd.conf————————
#…
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
#…
# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf
#…
————httpd-dav.conf————————–
#
# Distributed authoring and versioning (WebDAV)
#
# Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias
# mod_auth_digest, mod_authn_file
#
# The following example gives DAV write access to a directory called
# “uploads” under the ServerRoot directory.
#
# The User/Group specified in httpd.conf needs to have write permissions
# on the directory where the DavLockDB is placed and on any directory where
# “Dav On” is specified.
DavLockDB “D:/Apache Software Foundation/Apache2.2/DAVLock”
Alias /load “D:/Apache Software Foundation/Apache2.2/load”
<Directory “D:/Apache Software Foundation/Apache2.2/load”>
Dav On
Order Allow,Deny
Allow from all
AuthType Basic
AuthName load
# You can use the htdigest program to create the password database
AuthUserFile “D:/Apache Software Foundation/Apache2.2/DavPwd/user.pwd”
#Allow universal read-access, but writes are restricted
# to the admin user.
<LimitExcept GET OPTIONS>
require user dav@MyDomain.com
</LimitExcept>
</Directory>
#
# The following directives disable redirects on non-GET requests for
# a directory that does not include the trailing slash. This fixes a
# problem with several clients that do not appropriately handle
# redirects for folders with DAV methods.
#
BrowserMatch “Microsoft Data Access Internet Publishing Provider” redirect-carefully
BrowserMatch “MS FrontPage” redirect-carefully
BrowserMatch “^WebDrive” redirect-carefully
BrowserMatch “^WebDAVFS/1.[0123]” redirect-carefully
BrowserMatch “^gnome-vfs/1.0″ redirect-carefully
BrowserMatch “^XML Spy” redirect-carefully
BrowserMatch “^Dreamweaver-WebDAV-SCM1″ redirect-carefully
Create Password Database
Use htpasswd.exe to create the password database,it’s a file which AuthUserFile refer to.这是Basic认证,使用bin目录下的htpasswd.exe 去生成上面配置文件中AuthUserFile 所指的那个文件:user.pwd。如果使用摘要认证的话,则使用htdigest.exe,两者的语法是类似的。Execute the command like this:
htpasswd.exe -c “D:/Apache Software Foundation/Apache2.2/DavPwd/user.pwd” dav@MyDomain.com
回车后,会提示让你输入两次密码。
Config WebDAV Client
Windows XP对WebDAV支持得比较好,我们可以使用其网上邻居或者映射网络磁盘的方式连接到WebDAV Server,还可以使用IE连接。在IE中使用“打开Web Folder”的方式打开“http://serverip/load”所指的WebDAV文件夹。
Postscript
有些资料说在XP上需要使用“地址+端口号”或者“地址+#”的方式打开WebDAV文件夹,因为Windows2000和WindowsXP的WebDAV Driver的版本是不同的
DAV的意思是“Distributed Authoring and Versioning”。RFC 2518为HTTP 1.1定义了一组概念和附加扩展方法来把web变成一个更加普遍的读/写媒体,基本思想是一个WebDAV兼容的web服务器可以像普通的文件服务器一样工作;客户端可以通过HTTP装配类似于NFS或SMB的WebDAV共享文件夹。
#…
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
#…
# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf
#…
————httpd-dav.conf————————–
#
# Distributed authoring and versioning (WebDAV)
#
# Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias
# mod_auth_digest, mod_authn_file
#
# The following example gives DAV write access to a directory called
# “uploads” under the ServerRoot directory.
#
# The User/Group specified in httpd.conf needs to have write permissions
# on the directory where the DavLockDB is placed and on any directory where
# “Dav On” is specified.
DavLockDB “D:/Apache Software Foundation/Apache2.2/DAVLock”
Alias /load “D:/Apache Software Foundation/Apache2.2/load”
<Directory “D:/Apache Software Foundation/Apache2.2/load”>
Dav On
Order Allow,Deny
Allow from all
AuthType Basic
AuthName load
# You can use the htdigest program to create the password database
AuthUserFile “D:/Apache Software Foundation/Apache2.2/DavPwd/user.pwd”
#Allow universal read-access, but writes are restricted
# to the admin user.
<LimitExcept GET OPTIONS>
require user dav@MyDomain.com
</LimitExcept>
</Directory>
#
# The following directives disable redirects on non-GET requests for
# a directory that does not include the trailing slash. This fixes a
# problem with several clients that do not appropriately handle
# redirects for folders with DAV methods.
#
BrowserMatch “Microsoft Data Access Internet Publishing Provider” redirect-carefully
BrowserMatch “MS FrontPage” redirect-carefully
BrowserMatch “^WebDrive” redirect-carefully
BrowserMatch “^WebDAVFS/1.[0123]” redirect-carefully
BrowserMatch “^gnome-vfs/1.0″ redirect-carefully
BrowserMatch “^XML Spy” redirect-carefully
BrowserMatch “^Dreamweaver-WebDAV-SCM1″ redirect-carefully
Create Password Database
Use htpasswd.exe to create the password database,it’s a file which AuthUserFile refer to.这是Basic认证,使用bin目录下的htpasswd.exe 去生成上面配置文件中AuthUserFile 所指的那个文件:user.pwd。如果使用摘要认证的话,则使用htdigest.exe,两者的语法是类似的。Execute the command like this:
htpasswd.exe -c “D:/Apache Software Foundation/Apache2.2/DavPwd/user.pwd” dav@MyDomain.com
回车后,会提示让你输入两次密码。
Config WebDAV Client
Windows XP对WebDAV支持得比较好,我们可以使用其网上邻居或者映射网络磁盘的方式连接到WebDAV Server,还可以使用IE连接。在IE中使用“打开Web Folder”的方式打开“http://serverip/load”所指的WebDAV文件夹。
Postscript
有些资料说在XP上需要使用“地址+端口号”或者“地址+#”的方式打开WebDAV文件夹,因为Windows2000和WindowsXP的WebDAV Driver的版本是不同的
DAV的意思是“Distributed Authoring and Versioning”。RFC 2518为HTTP 1.1定义了一组概念和附加扩展方法来把web变成一个更加普遍的读/写媒体,基本思想是一个WebDAV兼容的web服务器可以像普通的文件服务器一样工作;客户端可以通过HTTP装配类似于NFS或SMB的WebDAV共享文件夹。
转载请注明原文地址:http://www.server110.com/apache/201308/519.html
0 0
- Apache服务器中配置webdav
- Apache服务器配置WEBDAV详解
- 【转】Apache 服务器配置WEBDAV详解
- 如何在Apache 上配置 WebDAV 服务器
- 阿帕奇apache服务器和webDav服务器快速配置
- 阿帕奇apache服务器和webDav服务器快速配置。
- apache配置WebDAV
- Apache配置WebDAV
- Ubuntu 配置WebDav服务器
- TOMCAT6中配置WEBDAV
- Apache——Config WebDAV(windows配置webdav)
- CentOS6下Apache服务器开启webDAV模块
- CentOS6下Apache服务器开启webDAV模块
- apache 2.4 配置webdav的用户权限
- ubuntu server 12.04 配置webdav(Apache)
- apache webdav
- apache 2.4.1 配置cgi、webdav、SSI支持
- 【转】Apache WEBDAV设置
- Linux网络安全策略
- Eclipse_Debug 界面应用详解——Eclipse Debug不为人知的秘密
- C# 文件操作
- Populating Next Right Pointers in Each Node Python Java Leetcode
- App_Code,App_Data等文件夹的作用
- Apache服务器中配置webdav
- 用mingw静态编译Qt4.8.2和Qt5.1.1
- 欢迎使用CSDN-markdown编辑器
- 解决嵌套viewpager滑动冲突的解决方案
- 用mingw4.8.2 静态编译QT5.3.1
- 知识点总结
- [从头读历史] 第261节 左传 [BC657至BC598]
- Eclipse_debug (调试) 学习心得
- recyclerView可能会遇到的几个问题