|
我在2k下整合Apache2.0和Tomcat4.0,Apache和tomcat安装好以后,
(已将下载的mod_jk-2.0.42.dll复制到C:\Apache2\modules下)
我在C:\Apache2\conf\httpd.conf的最后加入下面这段代码
# Using mod_jk2.dll to redirect dynamic calls to Tomcat
LoadModule jk_module modules/mod_jk-2.0.42.dll
JkLogFile "C:/Tomcat4/logs/mod_jk2.log"
JkMount /servlet/* ajp13
JkMount /*.jsp ajp13
在C:\Tomcat4\conf下新建了一个文件workers.properties
workers.tomcat_home=c:\Tomcat4
workers.java_home=c:\j2sdk1.4.1
ps=\
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
可是保存后在运行apache时,apache启动不了出错提示:
"LoadModule jk_module modules/mod_jk-2.0.42.dll"
syntax error
LosdModule takes two arguments, a module name and the name
of a shared object file to load it from
我该怎么改动? |
|