我一直试图在我的服务器上托管 ownCloud,但每次我尝试时它都会告诉我这个:
您的 Web 服务器尚未正确设置以允许文件同步,因为 WebDAV 接口似乎已损坏。
请仔细检查安装指南。
这是我的设置:
Windows Server 2012 R2
IIS 8.5
PHP 5.5.11
ownCloud 6.0.3
MySQL 5.6.17
我尝试用谷歌搜索该错误,但似乎找不到任何有用的信息。
有人说我应该尝试一下这个是否有效:
[hostname]/remote.php/webdav/
是的,我可以导航到该文件夹并从那里打开文件。
日历可以正常工作,我也可以上传文件到 ownCloud 的网络版本,唯一似乎不起作用的是同步客户端。
同步客户端没有说什么,只是没有连接(截图:http://prntscr.com/3p2apz)
这是错误日志:
Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:56:00+00:00
Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:55:47+00:00
Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:55:34+00:00
Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:55:34+00:00
Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-02T19:54:37+00:00
Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-02T19:54:36+00:00
Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-02T19:54:36+00:00
Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-02T19:54:36+00:00
Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:51:24+00:00
这是我的 php.ini:http://pastebin.com/es3MB8Uh
有人知道我该如何让它工作吗?
答案1
您是否尝试过在 IIS 中禁用 WebDAV?这不是永久性的解决方案,但一切都同步了,桌面应用程序也运行良好。如果这有帮助,请告诉我。