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 :
http://myapp1.mydomain.eu/myapp1/*
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!
Phil
well sorry guys,
after many tries, I've suddenly discovered my bug:
ProxyPassReverse / http://localhost:8080/
must be:
ProxyPassReverse / http://localhost:8080/myapp1
of course.
I still have cookies problem with IE browsers.