【发布时间】:2017-04-09 05:35:12
【问题描述】:
我想为一个新应用程序创建一个本地环境,并希望使用 Roxy 引导它。我在local.properties 文件中指定了各种端口。
app-port=6060
xcc-port=6070
webdav-port=6090
点击引导命令ml local bootstrap 后,我的应用程序已设置,但我没有看到为我的应用程序创建的 WEBDAV 端口。所有其他端口都被创建。我做错了什么?
【问题讨论】:
我想为一个新应用程序创建一个本地环境,并希望使用 Roxy 引导它。我在local.properties 文件中指定了各种端口。
app-port=6060
xcc-port=6070
webdav-port=6090
点击引导命令ml local bootstrap 后,我的应用程序已设置,但我没有看到为我的应用程序创建的 WEBDAV 端口。所有其他端口都被创建。我做错了什么?
【问题讨论】:
您必须编辑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!
【讨论】: