apache与tomcat集成session丢失问题解决方案

appache配置:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

ProxyPreserveHost On
ProxyPass /webapp http://192.168.3.254:9080/webapp/
ProxyPassReverse /webapp http://192.168.3.254:9080/webapp/
ProxyPassReverseCookieDomain locahost www.domain.cn
ProxyPassReverseCookiePath /webapp /webapp

你可能感兴趣的:(session)