Apache2 windows上具有Apache配置(mod_caucho)的树脂

Apache2 windows上具有Apache配置(mod_caucho)的树脂,apache2,resin,Apache2,Resin,我的电脑安装了Windows x32、Apache 2.2和Resin 3.0.14,我需要用Resin配置Apache。我已经把文章发红了,但还是有麻烦。 下面是Apache的配置 LoadModule mod_caucho "c:/Program Files/resin-3.0.14/win32/apache-2.0/mod_caucho.dll" ResinConfigServer localhost 6802 <VirtualHost *:80> ServerN

我的电脑安装了Windows x32、Apache 2.2和Resin 3.0.14,我需要用Resin配置Apache。我已经把文章发红了,但还是有麻烦。 下面是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>
LoadModule mod_caucho“c:/Program Files/resin-3.0.14/win32/apache-2.0/mod_caucho.dll”
ResinConfigServer本地主机6802
ServerName myapp.com
ResinConfigServer本地主机6802
DocumentRoot C:/Program Files/Apache软件基金会/Apache2.2/htdocs/myapp.com/webapps/ROOT
DirectoryIndex default.htm index.jsp redirect.jsp index.html
SetHandler caucho状态
当我重新启动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. 
httpd.exe:C:/Program Files/Apache Software Foundati第494行出现语法错误
在/Apache2.2/conf/httpd.conf上:无法加载C:/Program Files/resin-3.0.14/win32/ap
将ache-2.0/mod_caucho.dll插入服务器:找不到指定的模块。
注意上面的错误或消息,然后按键退出。
我从Resin 4.0.32中获取Apache2.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.
httpd.exe:C:/Program Files/Apache Software Foundati第494行出现语法错误
在/Apache2.2/conf/httpd.conf上:在中找不到API模块结构'mod_caucho'
文件C:/Program Files/resin-3.0.14/win32/apache-2.2/mod_caucho.dll:无错误
注意上面的错误或消息,然后按键退出。

有人遇到过这样的问题吗?如何使其工作?

如果您使用的是Apache2.2,那么应该使用Resin 3.1.x或Resin 4.0.x

您不能为不同版本的树脂混合mod_caucho.dll,因为协议会不时调整

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