日期:2014-05-17 浏览次数:20980 次
?
http://www.iteye.com/topic/1017961
?
?
?
?
?
准备工作
Tomcat7?http://tomcat.apache.org/download-70.cgi
apache httpd server 2.2:?http://httpd.apache.org/download.cgi
apache tomcat connector:?http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.31/
?
相关文档:
web server how to:
http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
?
安装路径:
httpd: ? ? ? ? ? ? D:\Server\Apache httpd2_2
tomcat D:\Server\tomcat7-1 tomcat7-2 tomcat7-3
JK ?D:\Server\Apache httpd2_2\modules\mod_jk-1.2.31-httpd-2.2.3.so
?
step 1: 添加并配置JK
D:\Server\Apache httpd2_2\conf\httpd.conf文件最后加上,意思是把这个配置加载进来
?
include conf\mod_jk.conf
?
新建mod_jk.conf文件,内容如下:
?
LoadModule jk_module modules/mod_jk-1.2.31-httpd-2.2.3.so JkWorkersFile conf/workers.properties #指定那些请求交