apache 和jboss 整合后 apache 还能做虚拟主机吗?

apache 和jboss 整合后 apache 还能做虚拟主机吗?

如题.为什么我打第二个虚拟主机的地址  直接就跳到jboss  的界面去了.


[Copy to clipboard] [ - ]
CODE:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers2.properties
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"
#apache will serve the static picture.
JkMount /* loadbalancer
JkUnMount /*.jpg loadbalancer
JkUnMount /*.gif loadbalancer
JkUnMount /*.swf loadbalancer
JkUnMount /*.bmp loadbalancer
JkUnMount /*.png loadbalancer

JkUnMount /*.htm loadbalancer
JkUnMount /*.html loadbalancer

JkUnMount /*.js loadbalancer

JkUnMount /*.cgi loadbalancer

JkUnMount /*.css loadbalancer

JkUnMount /*.exe loadbalancer

这个是我的 mod_jk2.conf

[Copy to clipboard] [ - ]
CODE:
worker.list=loadbalancer,status

worker.node1.port=8009
worker.node1.host=127.0.0.1
worker.node1.type=ajp13
worder.node1.lbfactor=1
worker.node1.cachesize=10

worker.node2.port=8009
worker.node1.host=localhost
worker.node1.type=ajp13
worder.node1.lbfactor=1
worker.node1.cachesize=10

worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=node1,node2

worker.status.type=status

这个是我的 workers2.properties