数字化技能提升教程,数字化时代生存宝典

数字化百科 / 产品文档 / Gallery:模块:webdav:用户(user)

Gallery:模块:webdav:用户(user)

查看全部产品文档命名空间:Gallery

手动连接WebDAV URL

The following are examples of WebDAV clients which work with Gallery, with a few corner cases, depending on the client and your server:

Windows Web Folders

  • 我的网络位置中,点击添加一个网络位置
img:91807img:91812
  • 当向导询问在哪儿创建此网络位置?时,点击选择另一个网络位置
img:91814img:91816
  • 当向导询问该网络位置的地址是什么?时,输入Gallery中相册的WebDAV URL。Gallery中各相册的WebDAV URL显示在WebDAV URL 区块中。Gallery管理员必须激活WebDAV URL 区块才能令其出现。WebDAV URL默认为:http://example.com/gallery2/w/album/path
img:91818
  • 当向导询问为该位置命名为什么名称?,可随意输入。
img:91820img:91822img:91824

Mac OS X WebDAVFS

  • 在Finder中,从Go菜单中选取连接到服务器…(Connect to Server...)
img:92220
  • 输入Gallery中相册的WebDAV URL。Gallery中各相册的WebDAV URL显示在WebDAV URL 区块中。Gallery管理员必须激活WebDAV URL 区块才能令其出现。WebDAV URL默认为:http://example.com/gallery2/w/album/path
img:92224img:92226img:92231img:92228

如果没有正确的OPTIONS应答的话,Mac OS X的连接就会失败。mod_php会向Gallery传输OPTIONS请求,因此应答包括有DAV头;但Apache不会向脚本传输OPTIONS请求,所以如果你使用php-cgi的话,就必须使用mod_rewrite和mod_headers来代之设定这些头。

GNOME

  • 在面板中,从位置(Places)菜单选取连接到服务器…(Connect to Server...)
img:92395
  • 服务类型:(Service type:)菜单中,选择WebDAV (HTTP)
  • 服务器:(Server:) 框中,输入Gallery中相册的WebDAV URL,开头不要加http://。WebDAV URL默认为:http://example.com/gallery2/w/album/path
img:92398

fusedav

需要添加相关资料和截图。

自动连接项目链接

Internet Explorer

WebDAV, ActiveX, ASP.NET及相关链接:

有关Web文件夹的行为
http://msdn2.microsoft.com/en-us/library/ms531432.aspx

ActiveX : Microsoft ASP.NET官方站
http://silverlight.net/Default.aspx

Silverlight的介绍
http://www.asp.net/silverlight/

下载Silverlight
http://www.microsoft.com/silverlight/install.aspx

有关使用DAV和Web文件夹的信息
http://support.microsoft.com/kb/q221600/

Konqueror

项目链接会使用webdav:// URL方案连接到WebDAV。

其他

在其他浏览器中,项目链接会下载一个davmount源: RFC 4709

目前要在Windows上打开davmount源,你必须在RFC 4709结尾运行脚本。这仅当你不使用Internet Explorer,如Firefox时有效。Media:Davmount.zip

已知问题

  • Windows WebDAV客户端不支持非默认端口:http://www.zorched.net/2006/03/01/more-webdav-tips-tricks-and-bugs/
  • Julian Reschke作出了一份列有Windows WebDAV客户端bug的列表,按Windows产品及客户端版本进行编目的:http://www.greenbytes.de/tech/webdav/webdav-redirector-list.html
  • 要关闭gallery中.ds_store 文件的OSX创建,请在终端使用此命令:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true

疑难解答

我正尝试在尽可能多的客户端和服务器上测试Gallery WebDAV连接。如果你在使用WebDAV连接Gallery时出问题的话,请在bug报告中附上WebDAV HTTP会话的抄本。你可以使用tcpflow 或Wireshark来获取抄本: http://www.circlemud.org/~jelson/software/tcpflow/ http://packages.debian.org/tcpflow http://www.wireshark.org/ http://packages.debian.org/wireshark

tcpflow

tcpflow为一命令行工具。你可在客户端或服务器上运行它。它可能需要root权限来开启网络接口。以下显示的是与example.com的HTTP会话抄本: sudo tcp -C port http and host example.com

资料

Plone项目拥有WebDAV相关的资料:http://plone.org/documentation/how-to/webdav