Windows上带有Apache配置(MOD_CAUCHO)的树脂



我的PC带有Windows X32,Apache 2.2和树脂3.0.14,我需要用树脂配置Apache。我已经将文章红色http://www.caucho.com/resin-3.0/install/cse-apache.xxtp发红,但仍然有麻烦。这是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. 

我从树脂4.0.32中获取了mod_caucho.dll的apache 2.2并将其放在我的树脂文件夹中,但是在这种情况下,我会收到另一个错误

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.

有人面对这样的问题吗?如何使其工作?

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

您无法为不同版本的树脂混合Mod_caucho.dll,因为该协议会不时调整。

另外,当您使用树脂3.1.x或树脂4.0.x安装时,由于Mod_caucho.dll有Win32和Win64并发症,您需要使用适当的一个。

最新更新