【问题标题】:How to create a webdav port for my application using Roxy?如何使用 Roxy 为我的应用程序创建 webdav 端口?
【发布时间】:2017-04-09 05:35:12
【问题描述】:

我想为一个新应用程序创建一个本地环境,并希望使用 Roxy 引导它。我在local.properties 文件中指定了各种端口。

app-port=6060
xcc-port=6070
webdav-port=6090

点击引导命令ml local bootstrap 后,我的应用程序已设置,但我没有看到为我的应用程序创建的 WEBDAV 端口。所有其他端口都被创建。我做错了什么?

【问题讨论】:

    标签: marklogic roxy


    【解决方案1】:

    您必须编辑deploy/ml-config.xml,并自己添加一个启用 webdav 的 http-server。你应该能够使用类似的东西:

        <http-server>
          <http-server-name>${app-name}-webdav</http-server-name>
          <port>${webdav-port}</port>
          <webDAV>true</webDAV>
          <database name="${content-db}"/>
          <root>/</root>
          <authentication>${authentication-method}</authentication>
          <default-user name="${default-user}"/>
        </http-server>
    

    您可以在 ml-config.xml 中的现有 http-server 旁边使用它。

    HTH!

    【讨论】:

    • 不会创建另一个 http 服务器吗?
    • Roxy 会注意到 webDAV 标志,并以此创建一个 webdav 服务器。这也是 MarkLogic 在内部存储它的方式。
    猜你喜欢
    • 2011-02-07
    • 1970-01-01
    • 1970-01-01
    • 2019-07-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-06-28
    • 1970-01-01
    相关资源
    最近更新 更多