Apache安装配置tar xvzf httpd* //解压源码包cd httpd* //进入安装目录/configure –prefix=/usr/local/apache2 –enable-so //进行编译//–enable-so根据apache的版本不同可能不同,请用–help参数查看可用的选项makemake install //安装
修改conf/httpd.conf进行HTTP配置
Resin安装配置tar zxvf resin* //解压源码包cd resin* //进入安装目录./configure –with-apxs=$Apache2_home/bin/apxs … //进行编译,可以用–help参数查看可用的选项makemake install //安装
http://www.gaodaima.com/40611.htmllinux环境下Apache+Resin的配置
此时已经生成Resin连接Apache2的.so文件了,其存在与$Apache2_home/modules/mod_caucho.so
修改conf/httpd.conf进行HTTP配置 LoadModule caucho_modules modules/mod_caucho.so ResinConfigServer localhost 6802 <location /caucho-status> sethandler caucho-status </location>
修改$resin_home/conf/resin.conf中的<web-app id=’/’ document-directory="/webapps/ROOT"/>把webapps/ROOT改成Apache的httpd.conf配置文件document ROOT所对应的目录
分别先后启动Resin和Apache
访问http://hostname/caucho-status 可以看到Resin的状态页面
欢迎大家阅读《linux环境下Apache+Resin的配置》,跪求各位点评,若觉得好的话请收藏本文,by 搞代码