apache与tomcat集成session丢失问题解决方案
appache配置:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyPreserveHost OnProxyPass /webapp http://192.168.3.254:9080/webapp/
ProxyPassReverse /webapp http://192.168.3.254:9080/webapp/
ProxyPassReverseCookieDomain locahost www.domain.cnProxyPassReverseCookiePath /webapp /webapp