software:
mod_jk-1.2.31-httpd-2.2.3.so
jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz
1.copy mod_jk.so to D:\Program Files\Apache Software Foundation\Apache2.2new\modules
2.copy D:\John\share\jakarta-tomcat-connectors-jk2-2.0.2-src\jakarta-tomcat-connectors-jk2-2.0.2-src\jk\conf\workers.properties to D:\Program Files\Apache Software Foundation\Apache2.2new\conf
worker.list=worker1
worker.worker1.port=8009
worker.worker1.host=localhost
worker.worker1.type=ajp13
3.configure file D:\Program Files\Apache Software Foundation\Apache2.2new\conf\httpd.conf
LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkShmFile logs/mod_jk.shm
JkLogFile logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
NameVirtualHost dev.egrant.cn
ServerName dev.egrant.cn
JkMount /demo* worker1
4.create a dynamic web project demo, depoly it to tomcat
5.start tomcat, brows url http://dev.egrant.cn/demo
没有评论:
发表评论