我有个人电脑与视窗x32,Apache2.2和树脂3.0.14安装,我需要配置树脂与阿帕奇。我已经修改了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. 我从Resin4.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.有没有人遇到过这样的问题?如何让它工作?
发布于 2012-10-25 01:36:03
如果你使用的是Apache 2.2,你应该使用Resin 3.1.x或Resin 4.0.x。
你不能混用不同版本的mod_caucho.dll,因为协议会不时地调整。
另外,当你用树脂3.1.x或树脂4.0.x安装时,因为mod_caucho.dll有win32和win64的复杂性,所以你需要使用合适的版本。
https://stackoverflow.com/questions/13030046
复制相似问题