apache-2.2.4 和 resin 3.0.22的整合
2007-06-25 16:27
405 查看
1.apache安装
(1)下载httpd-tar.gz 2.2.4
tar -zxvf httpd-2.2.4.tar.gz
cd httpd-2.2.4
./configure --prefix=/usr/local/apache
make;make install&
然后 vi /usr/loca/apache/conf/httpd.conf
ServerName 192.168.78.188:80
DocumentRoot "/home/www"
(2)安装resin并整合
下载 resin 3.0.22
./configure --with-apache=/usr/local/apache
会编译module:/usr/local/apache/modules/mod_caucho.so并自动会在apache的 httpd.conf中加入以下几行:
LoadModule caucho_module /usr/local/apache/modules/mod_caucho.so
ResinConfigServer localhost 6802
CauchoConfigCacheDirectory /tmp
CauchoStatus yes
修改:resin/conf/resin.conf为:
<host id="" root-directory=".">
<!--
- configures an explicit root web-app matching the
- webapp's ROOT
-->
<web-app id="/" document-directory="/home/www"/>
<resin:if test="${java.isJava5()}">
<!--
- Administration application /resin-admin
4000
-
- password is the md5 hash of the password.
- localhost is true to limit access to the localhost
-->
<resin:set var="resin_admin_password" default=""/>
<resin:set var="resin_admin_localhost" default="true"/>
<web-app id="/resin-admin" document-directory="${resin.home}/php/admin"/>
</resin:if>
</host>
(3)启动
/usr/local/apache/bin/apachectl start
/usr/local/resin/bin/httpd start
(1)下载httpd-tar.gz 2.2.4
tar -zxvf httpd-2.2.4.tar.gz
cd httpd-2.2.4
./configure --prefix=/usr/local/apache
make;make install&
然后 vi /usr/loca/apache/conf/httpd.conf
ServerName 192.168.78.188:80
DocumentRoot "/home/www"
(2)安装resin并整合
下载 resin 3.0.22
./configure --with-apache=/usr/local/apache
会编译module:/usr/local/apache/modules/mod_caucho.so并自动会在apache的 httpd.conf中加入以下几行:
LoadModule caucho_module /usr/local/apache/modules/mod_caucho.so
ResinConfigServer localhost 6802
CauchoConfigCacheDirectory /tmp
CauchoStatus yes
修改:resin/conf/resin.conf为:
<host id="" root-directory=".">
<!--
- configures an explicit root web-app matching the
- webapp's ROOT
-->
<web-app id="/" document-directory="/home/www"/>
<resin:if test="${java.isJava5()}">
<!--
- Administration application /resin-admin
4000
-
- password is the md5 hash of the password.
- localhost is true to limit access to the localhost
-->
<resin:set var="resin_admin_password" default=""/>
<resin:set var="resin_admin_localhost" default="true"/>
<web-app id="/resin-admin" document-directory="${resin.home}/php/admin"/>
</resin:if>
</host>
(3)启动
/usr/local/apache/bin/apachectl start
/usr/local/resin/bin/httpd start
相关文章推荐
- windows下apache与resin的整合
- Apache2.2.4+Tomcat6的整合配置
- windows+apache2.2.4+php5.2.5+mysql5.0+tomcat5.5整合
- Apache 2.2.4整合Tomcat 6.0.16三种方式的详细配置过程
- 配置整合Win+Apache+PHP+MySQL+Tcomcat(或Resin)完全手册
- 配置整合Win+Apache+PHP+MySQL+Tcomcat(或Resin)完全手册
- 安装整合 Apache2.2、PHP5、MySQL5、resin-3.1.10
- Linux下Apache和Resin的整合
- Apache2.2.4整合Tomcat6.0.16三种方式的详细配置过程
- RESIN 入门教程2:Apache + Resin 整合
- 整合apache 2.2.4 + Tomcat5 总结
- 配置整合Win+Apache+PHP+MySQL+Tcomcat(或Resin)完全手册
- linux上resin +apache整合配置
- 第四十六天:Apache整合toncat和resin
- CentOS,Apache和Resin的整合
- Apache2.2.4整合Tomcat6.0.16三种方式的详细配置过程
- apache2.2.4和PHP5.2.17在windows下的整合
- 整合 Resin 和 Apache
- Fedora 7+Tomcat 6.0.13+Apache 2.2.4+connectors整合过程
- 整合apache 2.2.4 + PHP 5.2.1 总结