我有安装了 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.
有没有人遇到过这样的问题?如何让它发挥作用?