You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/01/10 10:03:28 UTC

[Bug 54401] New: Suggest to make ProxyPassReverseCookieDomain accept balancer as argument

https://issues.apache.org/bugzilla/show_bug.cgi?id=54401

            Bug ID: 54401
           Summary: Suggest to make ProxyPassReverseCookieDomain accept
                    balancer as argument
           Product: Apache httpd-2
           Version: 2.4.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@httpd.apache.org
          Reporter: althial@gmx.net
    Classification: Unclassified

As I see it the directives "ProxyPassReverse" and
"ProxyPassReverseCookieDomain" work almost identically, differing only in the
relevant sections they change. This is also implied by the description of
"ProxyPassReverseCookieDomain"
(http://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypassreverse):
"Usage is basically similar to ProxyPassReverse, but instead of rewriting
headers that are a URL, this rewrites the domain string in Set-Cookie headers."

Nevertheless, "ProxyPassReverse" accepts a balancer as argument, extracting the
relevant domain information on it's own, where "ProxyPassReverseCookieDomain"
does not. Actually, it does accept the balancer as argument but does not
extract the relevant domain information from it, instead using it as a direct
match against the "Domain" parts of cookies - which of course is not what is
desired in such a use case.

I suggest to change the directives so they both use the existing code to
extract the domain information from the balancer.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54401] Suggest to make ProxyPassReverseCookieDomain accept balancer as argument

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54401

Micha Lenk <mi...@lenk.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |micha@lenk.info

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org