【问题标题】:Resin with Apache configuration (mod_caucho) on windows在 Windows 上使用 Apache 配置 (mod_caucho) 的 Resin
【发布时间】:2012-10-13 08:40:42
【问题描述】:

我有安装了 Windows x32、Apache 2.2 和 Resin 3.0.14 的 PC,我需要使用 Resin 配置 Apache。我已经红了文章http://www.caucho.com/resin-3.0/install/cse-apache.xtp,但还是有问题。 这是来自 Apache 的配置

LoadModule mod_caucho "c:/Program Files/resin-3.0.14/win32/apache-2.0/mod_caucho.dll"
ResinConfigServer localhost 6802

<VirtualHost *:80>
      ServerName myapp.com
      ResinConfigServer localhost 6802
      DocumentRoot C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/myapp.com/webapps/ROOT
      DirectoryIndex default.htm index.jsp redirect.jsp index.html
      <Location /caucho-status>
         SetHandler caucho-status
      </Location>
</VirtualHost>

当我重新启动 Apache 时,它​​显示以下内容

httpd.exe: Syntax error on line 494 of C:/Program Files/Apache Software Foundati
on/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/resin-3.0.14/win32/ap
ache-2.0/mod_caucho.dll into server: The specified module could not be found.
Note the errors or messages above, and press the <ESC> key to exit. 

我从 Resin 4.0.32 中获取了用于 Apache 2.2 的 mod_caucho.dll 并将其放置到我的 Resin 文件夹中,但在这种情况下我收到另一个错误

httpd.exe: Syntax error on line 494 of C:/Program Files/Apache Software Foundati
on/Apache2.2/conf/httpd.conf: Can't locate API module structure `mod_caucho' in
file C:/Program Files/resin-3.0.14/win32/apache-2.2/mod_caucho.dll: No error
Note the errors or messages above, and press the <ESC> key to exit.

有人遇到过这样的问题吗?如何让它发挥作用?

【问题讨论】:

    标签: apache2 resin


    【解决方案1】:

    如果您使用的是 Apache 2.2,则应该使用 Resin 3.1.x 或 Resin 4.0.x。

    你不能为不同版本的 Resin 混合 mod_caucho.dll,因为协议会不时调整。

    此外,当您使用 Resin 3.1.x 或 Resin 4.0.x 进行安装时,由于 mod_caucho.dll 存在 win32 和 win64 复杂性,因此您需要使用适当的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-02
      • 2017-07-12
      • 2010-09-18
      • 2017-04-02
      • 2010-11-06
      • 2018-07-17
      相关资源
      最近更新 更多