【问题标题】:Railo: won't find default at http://domain.comRailo:在 http://domain.com 上找不到默认值
【发布时间】:2010-08-26 00:45:57
【问题描述】:

我在 Windows Server 2003 上的 Apache 下运行 Railo 3.1.0 时遇到问题。

当转到 http://www.domain.com 时,它默认为 index.cfm。

当转到http://domain.com 时,它找不到 index.cfm。 http://domain.com/index.cfm 工作正常。

有人知道我可以在哪里配置吗?

【问题讨论】:

    标签: apache coldfusion railo


    【解决方案1】:

    看起来像 Apache 虚拟主机配置错误,而不是 Railo。重新检查domain.com 站点配置的DirectoryIndex 设置(在sites-available 中),它应该首先包含index.cfm

    【讨论】:

    • 值得一提的是httpd.conf(默认为C:/Program Files/Apache Group/Apache/conf/httpd.conf)或特定于域的配置(位置取决于设置方式)。
    • @Peter 你说得对,谢谢。我只使用 Ubuntu 风格有一段时间了,忘记了其他配置虚拟主机的方法。
    猜你喜欢
    • 2014-09-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-09-10
    • 1970-01-01
    • 2017-03-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多