我试图通过WebDAV访问Adobe AEM,但是,我无法让它工作。
我正在运行开箱即用的crx-quickstart,所以我使用的是端口4502和默认工作区。 我使用Windows资源管理器作为WebDAV客户端,我用它来连接到Sharepoint没有困难。
这些似乎是通过WebDAV连接到AEM的唯一说明。 http://dev.day.com/docs/en/crx/current/how_to/webdav_access.html
这些说明意味着您只需将WebDAV客户端指向以下URL即可。 但是,我似乎无法让它发挥作用。
http://localhost:4502/crx/repository/crx.default由于这不起作用,我已经验证了其他设置。
例如,在OSGi配置管理器http://localhost:4502/system/console/configMgr我验证并单击了各种WebDAV设置上的Save 。
Apache Sling Simple WebDAV Servlet Root Path = "/crx/repository" Apache Sling DavEx Servlet Root Path = "/crx/server" Use absolute URIs [X]我还试图从这些说明中反向讨论如何禁用WebDAV http://helpx.adobe.com/experience-manager/kb/DisableWebDAV.html
但是,它立即引用<cq5_home>/crx-quickstart/server/并且crx-quickstart目录下没有server目录。 我应该创建这个目录吗?
我还调查了有关设置虚拟存储库的文档。 http://dev.day.com/docs/en/cq/current/core/administering/virtual_repository.html
但是,我仍然无法让它工作,事实上,我也无法让RMI工作(我猜是单独的问题)。
I am trying to access Adobe AEM via WebDAV, however, I cannot get it to work.
I am running the out-of-the-box crx-quickstart, so I am using port 4502 and the default workspace. I am using Windows Explorer as the WebDAV client, which I use to connect to Sharepoint without difficulty.
These seem to be the only instructions for connecting to AEM via WebDAV. http://dev.day.com/docs/en/crx/current/how_to/webdav_access.html
The instructions imply that you just point your WebDAV client at the following URL and you are golden. However, I cannot seem to get it to work.
http://localhost:4502/crx/repository/crx.defaultSince this doesn't work, I have verified other settings.
For instance, within the OSGi configuration manager http://localhost:4502/system/console/configMgr I verified and clicked Save on various WebDAV settings.
Apache Sling Simple WebDAV Servlet Root Path = "/crx/repository" Apache Sling DavEx Servlet Root Path = "/crx/server" Use absolute URIs [X]I also tried to work backwards from these instructions on how to disable WebDAV http://helpx.adobe.com/experience-manager/kb/DisableWebDAV.html
However, right away, it refers to <cq5_home>/crx-quickstart/server/ and there is no server directory under the crx-quickstart directory. Should I create this directory?
I also investigated this document on setting up Virtual Repositories. http://dev.day.com/docs/en/cq/current/core/administering/virtual_repository.html
However, I was still not able to get it to work and in fact, I couldn't get RMI working either (separate question, I guess).
最满意答案
我不确定/crx/repository路径,但是在/上也启用了WebDAV,如下面在vanilla AEM 5.6.1实例上所示。 curl -T做一个WebDAV PUT。
$ date > /tmp/somefile.txt $ curl -u admin:admin -X MKCOL http://localhost:4502/tmp/test $ curl -u admin:admin -T/tmp/somefile.txt http://localhost:4502/tmp/test/somefile.txt $ curl -u admin:admin http://localhost:4502/tmp/test/somefile.txt Fri Jan 17 10:41:36 CET 2014RMI确实是一个单独的问题,如果您在WebDAV和RMI之间犹豫不决,您可能希望公开您的用例,因为Sling HTTP API可能已经足够好了。
I'm not sure about the /crx/repository path but WebDAV is also enabled on /, as demonstrated below on a vanilla AEM 5.6.1 instance. curl -T does a WebDAV PUT.
$ date > /tmp/somefile.txt $ curl -u admin:admin -X MKCOL http://localhost:4502/tmp/test $ curl -u admin:admin -T/tmp/somefile.txt http://localhost:4502/tmp/test/somefile.txt $ curl -u admin:admin http://localhost:4502/tmp/test/somefile.txt Fri Jan 17 10:41:36 CET 2014RMI would indeed be a separate question, and if you're hesitating between WebDAV and RMI you might want to expose your use case, as the Sling HTTP APIs might be good enough.
更多推荐
发布评论