网上很多文章好像没说这个,弄了半个下午,其实狠简单,如果在
httpd.conf里面弄的是:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile "/server/httpd_tom6/conf/workers.properties"
JkShmFile /var/log/httpd/mod_jk.shm
JkLogFile "/var/log/httpd/mod_jk.log"
JkLogLevel info
JkMount /servlet/* worker1
JkMount /*.jsp worker1
AddType application/x-jsp .jsp
那么在extra/httpd-vhosts.conf 的
里面除了常规定义外,增加如下一行:
JkMount /*.jsp worker1
阅读(1437) | 评论(0) | 转发(0) |