LoadModule jk_module modules/mod_jk-1.2.31-httpd-2.2.3.so
JKWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
<VirtualHost *>
ServerAdmin localhost
DocumentRoot D:/apache-tomcat-6.0.35/webapps/ROOT/
ServerName localhost
DirectoryIndex index.html index.htm index.jsp index.action
ErrorLog logs/shsc-error_log.txt
CustomLog logs/shsc-access_log.txt common
JkMount /*WEB-INF ajp13
JkMount /*j_spring_security_check ajp13
JkMount /api/* ajp13 所有/api/下的都交给tomcat处理
JkMount /*.jsp ajp13 所有.jsp的文件都交给tomcat处理
</VirtualHost>
JKWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
<VirtualHost *>
ServerAdmin localhost
DocumentRoot D:/apache-tomcat-6.0.35/webapps/ROOT/
ServerName localhost
DirectoryIndex index.html index.htm index.jsp index.action
ErrorLog logs/shsc-error_log.txt
CustomLog logs/shsc-access_log.txt common
JkMount /*WEB-INF ajp13
JkMount /*j_spring_security_check ajp13
JkMount /api/* ajp13 所有/api/下的都交给tomcat处理
JkMount /*.jsp ajp13 所有.jsp的文件都交给tomcat处理
</VirtualHost>