.net 什么是 DavWWWRoot?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/21706142/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-03 12:39:08  来源:igfitidea点击:

What is DavWWWRoot?

.netwebdav

提问by Taras Kozubski

I am connecting to my WebDAVserver in Windows Explorer as \\myserver@8080\DavWWWRoot\. I can not find any folder called DavWWWRooton my server in my storage or in the WebDAVserver back-end code. Where does this DavWWWRootcome from?

我在 Windows 资源管理器中连接到我的WebDAV服务器作为\\myserver@8080\DavWWWRoot\. 我DavWWWRoot在我的存储或WebDAV服务器后端代码中找不到在我的服务器上调用的任何文件夹。这DavWWWRoot是从哪里来的?

采纳答案by agassner

Taken from http://www.webdavsystem.com/server/access/windows

取自http://www.webdavsystem.com/server/access/windows

"DavWWWRootis a special keyword recognized by Windows Shell. There is no such folder exists on your WebDAV server and you should not create it. You also will not find any DavWWWRootname in requests to your server. The DavWWWRootkeyword tells Mini-Redirector driver, that handles WebDAV requests, that you are connecting to the root of WebDAV server.

"DavWWWRoot是 Windows Shell 识别的特殊关键字。您的 WebDAV 服务器上不存在这样的文件夹,您不应创建它。您也不会DavWWWRoot在对服务器的请求中找到任何名称。该DavWWWRoot关键字告诉 Mini-Redirector 驱动程序,处理WebDAV 请求您连接到 WebDAV 服务器的根目录。

You can avoid using this keyword if you specify folder that exists on your server when connecting to server. For example: \\webdavserver.com\sales\

如果在连接到服务器时指定服务器上存在的文件夹,则可以避免使用此关键字。例如:\\webdavserver.com\sales\

in this case DavWWWRootwill not appear in urls."

在这种情况下DavWWWRoot不会出现在网址中。”

回答by IT Hit WebDAV

According to "Understanding and Troubleshooting SharePoint Explorer View": "DavWWWRoot is a special keyword that alerts the WebDAV client that you are referring to the root of a WebDAV server". It is used by the Mini-redirector instead of the folder name, to indicate server root.

根据“ SharePoint Explorer View 的理解和故障排除”:“DavWWWRoot 是一个特殊的关键字,用于提醒 WebDAV 客户端您指的是 WebDAV 服务器的根目录”。迷你重定向器使用它而不是文件夹名称来指示服务器根目录。

If your WebDAV location is at http://host:8080/cms/dav/, Windows Shell (mini-redirector) can connect to \\host@8080\DavWWWRoot\cms\dav\or to \\host@8080\cms\dav\. There is no folder named 'DavWWWRoot' in your storage, there are only 'cms' and 'dav' folders. You do not need to create folder with DavWWWRoot name on your server, this is purely ‘client' Mini-redirector hack.

如果您的 WebDAV 位置位于http://host:8080/cms/dav/,则 Windows Shell(迷你重定向器)可以连接到\\host@8080\DavWWWRoot\cms\dav\\\host@8080\cms\dav\。您的存储中没有名为“DavWWWRoot”的文件夹,只有“cms”和“dav”文件夹。您不需要在您的服务器上创建带有 DavWWWRoot 名称的文件夹,这纯粹是“客户端”迷你重定向器黑客。