gpt4 book ai didi

tomcat - Railo 和 Tomcat - 根目录在哪里

转载 作者:行者123 更新时间:2023-11-28 21:49:59 24 4
gpt4 key购买 nike

我已经安装了 TurnKey Tomcat 并部署了 Railo WAR。默认的 www 目录似乎无法识别 .cfm 文件,但请注意 192.168.91.128/railo 使用的是 .cfm 文件。 Railo 和 Tomcat root 是否依赖扩展。我需要在哪里部署 .cfm 文件或如何更改 www 以使用 .cfm?

最佳答案

Tomcat 默认不支持 ColdFusion,因为它不是 Java EE 规范的一部分。如果你想在 Tomcat 上部署 cfm 文件,你需要先安装 ColdFusion。我找到了以下链接:

请检查您需要的 ColdFuion 版本。

编辑:

显然您安装了 Railo(ColdFusion 引擎)我的建议是您查看 http://www.getrailo.org/ 上的文档.从这个网站我发现了以下内容:

First is is important to know that the architecture in Railo is different than in other CFML engines. In Railo configuration can be made either per web context level or per global context. Now what is a web context?

What is a web context? A web context is a secured area provided by the application server (and NOT by the webserver). A web context is defined by a entry in the corresponding configuration file of the application server. These files differ from app server to app server. In Resin for example this file is called resin.conf or resin.xml, whereas in Tomcat it is called server.xml. Please check the corresponding documentation of your application server in order to see how to define these web contexts.

The fact that you define new web contexts in the application server is the reason why any definition of a new website in the webserver can only be defined differently on a web context basis if you have mirrored the configuration of the webserver in the application server by using virtual host definitions.

关于tomcat - Railo 和 Tomcat - 根目录在哪里,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8569712/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com