整合tomcat与apache 时500 Internal Server Error
我按照网上地方法做了以下修改:
(
这是我用的文件
apache_2.2.9-win32-x86-openssl-0.9.8h-r2.msi
apache tomcat6.0.18.exe
mod_jk-1.2.26-httpd-2.2.4.so
)
(以下是apache2.2/conf/httpd.conf最下面加上的)
LoadModule jk_module modules/mod_jk.so
JkWorkersFile "conf/workers.properties"
JkLogFile "logs/mod_jk.log"
JkMount /servlet/* jc
JkMount /*.jsp jc
JkMount /*.do jc
workers.properties文件与httpd.conf在同一目录内容如下
workers.tomcat_home=F:/Tomcat
workers.java_home=D:/java/jdk1.6
ps=/
worker.list=jc
worker.jc.port=8009
worker.jc.host=localhost
worker.jc.type=ajp13
worker.jc.lbfactor=1
启动apache与tomcat然后分别访问80的HTML与8080的jsp和HTML都可以。但是输入http://127.0.0.1/index.jsp
显示
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
日志
[Sun Sep 14 14:46:27.984 2008] [1924:5460] [info] mod_jk.c (2372): Could not find a worker for worker name=jc
到底怎样才能修正呢,还请各位牛人帮忙解决一下,小弟先谢了