修改httpd.conf中文编码
 
AddDefaultCharset GB2312
DefaultLanguage GB2312
AddLanguage zh-cn .cn
下载 mod_jk2.so 并加载mod_jk2.so
 
LoadModule jk2_module modules/mod_jk2.so
在conf目录新建workers2.properties文件
 
 
[shm]
file=${serverRoot}/logs/shm.file
size=1048576
#The socket channel
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
#define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
#uri mapping
[uri:/*.jsp]
worker=ajp13:localhost:8009

虚拟主机
 
<VirtualHost *:80>
    ServerAdmin wweidong@sina.com
    DocumentRoot "I:/Job/Java"
    ServerName localhost
    ErrorLog logs/sdg.com-error_log
    CustomLog logs/sdg.com-access_log common
</VirtualHost>