Found my mistake. SetEnvIf does not apply to response from app server but
only to the original request.
My next question is whether there is a way to make it apply to proxied
responses.
Hi,
I'm attempting to do the above with mod_headers and mod_setenvif.
unsuccessfully.
SetEnvIfNoCase Set-Cookie "JSESSIONID=(\S*);\s*Path=$"
jsessionidBlankPath=$1 blankCookiePath
Header set Set-Cookie "JSESSIONID=%{jsessionidBlankPath}e; Path=/"
env=blankCookiePath
The first rule is supposed t
Hi,
I am setting up apache to reverse proxy to an app server. The app server is
incorrectly sending back Set-Cookie headers for every path visited. I was
looking for a way to get httpd to correct this by making the path always be
/. In other words, something like:
ProxyPassReverseCookiePath *