httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51126] New: Clarify ProxyPassReverseCookiePath description
Date Wed, 27 Apr 2011 20:53:53 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51126

           Summary: Clarify ProxyPassReverseCookiePath description
           Product: Apache httpd-2
           Version: 2.2-HEAD
          Platform: All
               URL: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#pr
                    oxypassreversecookiepath
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Documentation
        AssignedTo: docs@httpd.apache.org
        ReportedBy: lmeyer@vmware.com


Created an attachment (id=26938)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26938)
Patch against 2.2.x/docs/manual/mod

The current description reads:

"Usage is basically similar to ProxyPassReverse, but instead of rewriting
headers that are a URL, this rewrites the path string in Set-Cookie headers."

This is misleading. "Similar" perhaps but significantly different. Consider
this example:

ProxyPassReverseCookiePath / /apps

This does not prepend "/apps" to the cookie's path, according to my
experiments; it replaces the path entirely with "/apps". It is not doing a
match-and-replace like ProxyPassReverse; instead it replaces the path
completely if it matches. This could be problematic if you have a lot of
applications on the backend web server each wanting to preserve its own session
cookie by setting a path. It would require a specific directive for each
application e.g.

ProxyPassReverseCookiePath /app1 /apps/app1 
ProxyPassReverseCookiePath /app2 /apps/app2 ...

I would go so far as to call this a bug; certainly I think it should work more
like ProxyPassReverse. In the meantime, here's a suggested doc patch. This
could apply to trunk docs as well; hopefully there might later be a fix such
that it's not needed, however. I haven't tested against 2.0; it's probably the
same.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message