开发者

Remove server name from JSESSIONID

开发者 https://www.devze.com 2023-01-22 05:15 出处:网络
Our application runs on JBOSS and its front end on Apache. When accessign the URL externally, the JSESSIONID displays the servername within the Content property of the cookie.

Our application runs on JBOSS and its front end on Apache. When accessign the URL externally, the JSESSIONID displays the servername within the Content property of the cookie.

Any ideas how this can be removed???

Thank开发者_Go百科s,


mod_jk adds the name of the worker to the cookie to remember to which tomcat upcoming request must be directed.

By default, the worker name is equal to the jvmRoute as configured on the tomcat, in the <Engine> tag, in server.xml.

You can change the workers.properties to use another worker name, but you will need to add the jvm_route definition:

...
worker.myworker.jvm_route=<jvm-route-as-specified-in-tomcat-conf>
...
0

精彩评论

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