httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51126] New: Clarify ProxyPassReverseCookiePath description
Date Wed, 27 Apr 2011 20:53:53 GMT

           Summary: Clarify ProxyPassReverseCookiePath description
           Product: Apache httpd-2
           Version: 2.2-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Documentation

Created an attachment (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

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message