修改Apache相关文件 1、将mod_jk.so上传至/modules目录下 2、在/apache/conf目录下新建文件mod_jk.conf #Load mod_jk module LoadModule jk_module modules/mod_jk.so #Where to find workers.properties JkWorkersFile conf/workers.properties #Where to put jk logs JklogFile logs/mod_jk.log #Set the jk log level[debug/error/info] JkLogLevel info #Select the log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " #JkOptions indicate to send SSL KEY SIZE, JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories #JkRequestLogFormat set the request format JkRequestLogFormat "%w %V %T" #Send servlet for context /examples to worker named ajp13 JkMount /servlet/* ajp13 #Send all files under MyProject for to worker named ajp13 JKMount /MyProject ajp13