开发者

How to make Railo/OpenBD process files under Tomcat <Context/> nodes?

I have a Tomcat host defined like this, with the WEB-INF of Railo OR OpenBD in the webapps/ROOT directory.

<Host name="daves.cool.website.com"  appBase="webapps">
    <Context path="/remote" docBase="/full/path/to/remotedirectory" />
</Host>开发者_开发问答

If I put a CFM file under the ROOT of my webapps directory, it is processed as expected by either Railo or OpenBD. When I move that same file to the remotedirectory, it is returned as unparsed text with straight CFML code. How can I instruct the appserver to have OpenBD or Railo process files in the defined Context directories?

[edit: this is a Windows server]


You need a web application deployed in the remotedirectory, i.e., an exploded Railo or OpenBD WAR file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜