Struts2: Session Problem (after reverse proxy) on Apache Server

Session parameters are stored in a Struts2 session map in action using the SessionAware interface. 
Application's context path is  /MyApp
Use Apache server with an inverse proxy redirect that makes the URL point to local tomcat on localhost:8080/MyApp, Struts2 session handling doesn't work.

Set your ProxyPassReverseCookie path properly":
        ProxyPass / http://localhost:8080/VicWalks/
        ProxyPassReverse / http://localhost:8080/VicWalks/
        ProxyPassReverseCookiePath /VicWalks /
 For more info:
ProxyPassReverseCookiePath directives. See:



Popular posts from this blog

Struts 2 - struts tag with boolean property

Can not connect to git using ssh (Permissions 0644 for '/root/.ssh/id_rsa' are too open.