- 论坛徽章:
- 0
|
在我的服务器上 做了以下设置
整合Apache和Resin
1)修改/usr/local/apache/conf/httpd.conf
增加:
LoadModule caucho_module /usr/local/apache/libexec/mod_caucho.so
ResinConfigServer localhost 6802
CauchoStatus yes
<Location /caucho-status>
SetHandler caucho-status
</Location>
2)修改/usr/local/resin/conf/resin.conf
修改以下片断:
<cluster>
<srun server-id="" host="127.0.0.1" port="6802"/>
</cluster>
<host id="">
<web-app id='/' document-directory="/var/www"/>
</host>
3)
重新启动 apache,
/usr/local/apache/bin/apachectl restart
在最后restart后 报错了 httpd: Syntax error on line 9 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_caucho.so into server: /usr/local/apache/libexec/mod_caucho.so: cannot open shared object file: No such file or directory
不知道是什么原因 没有 loadmodule 成功啊 |
|