1 Reply Latest reply on Aug 25, 2010 9:02 AM by p g

    apache subdomain / proxyreverse & cookies

    p g Newbie

      Hi all,


      Sorry if this have been solved, I'm sure it was but I can't find the solution.


      Here is my (should be simple) problem:


      http://myapp1.mydomain.eu/* <--apache2-->  http://localhost:8080/myapp1/*


      this  is a subdomain <-> web-app mappping


      apache config:


      RewriteRule  ^/(.+)\.html http://localhost:8080/myapp1/$1.html [L,P]

      ProxyPassReverse / http://localhost:8080/
      ProxyPassReverseCookiePath /myapp1 /
      ProxyPassReverseCookieDomain /myapp1 /


      the problem is that the http response location value (thanks to Firebug) is :




      so that further GET doesn't work ....


      Everything is ok of course if myapp1 is deployed as ROOT.war so that I don't need 
      ProxyPassReverseCookiePath and
      ProxyPassReverseCookieDomain ...


      So my question is: what is the right way to config apache when one subdomain corresponds to one web-app so that cookies works in IE 6-7-8 (actually I have still a cookie problem on IE)  and Firefox and other browsers.


      Thanks everyone!