httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54401] New: Suggest to make ProxyPassReverseCookieDomain accept balancer as argument
Date Thu, 10 Jan 2013 09:03:28 GMT
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


Mime
View raw message