1

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

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

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

4

1 回答 1

3

您必须自己编辑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 旁边使用它。

于 2017-04-09T18:03:44.143 回答