Playframework 2.0 播放2.0.3 application.context/播放中的子url

Playframework 2.0 播放2.0.3 application.context/播放中的子url,playframework-2.0,Playframework 2.0,关于这一点,哪里有很多话题,但我从未了解过实现application.contex的哪个版本 它在2.0.3上什么都不做 首先,我成功地使用了play 1.2.4参数,如下所示: http.port=9004 http.path=/Zenith2 XForwardedSupport=127.0.0.1 在play 2.0.3中,我尝试了以下方法: application.context="/Zenith2" application.address="12

关于这一点,哪里有很多话题,但我从未了解过实现application.contex的哪个版本 它在2.0.3上什么都不做

首先,我成功地使用了play 1.2.4参数,如下所示:

    http.port=9004
    http.path=/Zenith2
    XForwardedSupport=127.0.0.1
在play 2.0.3中,我尝试了以下方法:

    application.context="/Zenith2"
    application.address="127.0.0.1"
    application.port="9088"
->绑定到9000(默认)

我还尝试:

    play2 start -Dhttp.address=127.0.0.1 -Dhttp.port=9088 -Dapplication.context=/Zenith2/ 
->绑定到9000(默认)

所有这些语法都是来自google Group和stackoverflom其他主题的问题


感谢您的帮助

正如James Roper在:
Play 2.0.
尚不支持在其他上下文中运行