开发者

setup uriworkermap.properties to run one tomcat site on tomcat root (without any contexts) with IIS using jk connector

开发者 https://www.devze.com 2022-12-19 07:16 出处:网络
I have one jsp site under webapps/ROOT of tomcat (accessible by doing http://localhost:8080)and want all requests from IIS to go to 开发者_开发问答tomcat\'s root site (without having to give contexts

I have one jsp site under webapps/ROOT of tomcat (accessible by doing http://localhost:8080)and want all requests from IIS to go to 开发者_开发问答tomcat's root site (without having to give contexts in uriworkermap.properties) using jk connector. How should I define the uriworkermap.properties file in this case?

(My IIS Tomcat implementation is working fine using contexts.)


I figured it out with testing. In uriworkermap.properties, put:

/*|/*=bal_worker1
/*.jsp=bal_worker1

where bal_worker1 is name of the worker.

0

精彩评论

暂无评论...
验证码 换一张
取 消