Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-250

bad interaction with ProxyPassReverse when redirection.

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.1.3.Final
    • Fix Version/s: 1.1.4.Final
    • Component/s: None
    • Labels:
      None
    • Environment:

      Mixing ProxyPass/ProxyPassReverse and mod_cluster

      Description

      Using:
      ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
      ProxyPassReverse / balancer://mycluster/
      or
      ProxyPass / balancer://mycluster stickysession=JSESSIONID|jsessionid nofailover=On
      ProxyPassReverse / balancer://mycluster
      (note that this one won't work with mod_proxy_balancer).

      You get stuff like:
      curl -v http://jfcpc:8000/myapp
      +++
      < HTTP/1.1 302 Moved Temporarily
      < Date: Thu, 25 Aug 2011 09:40:17 GMT
      < Server: Apache-Coyote/1.1
      < Location: http://jfcpc:8000//myapp/
      < Content-Length: 0
      < Content-Type: text/plain
      +++
      Or
      curl -v http://jfcpc:8000/myapp/TestRedirect?location=/toto.html
      +++
      < HTTP/1.1 302 Moved Temporarily
      < Date: Thu, 25 Aug 2011 09:42:59 GMT
      < Server: Apache-Coyote/1.1
      < Location: http://jfcpc:8000//toto.html;jsessionid=OYeoix8WaRh6VEtlSrfzIS7Q.498bb1f0-00d9-3436-a341-7f012bc2e7ec
      < Content-Length: 0
      < Set-Cookie: JSESSIONID=OYeoix8WaRh6VEtlSrfzIS7Q.498bb1f0-00d9-3436-a341-7f012bc2e7ec; Path=/myapp
      < Content-Type: text/plain
      +++

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mbabacek Michal Karm Babacek
                Reporter:
                jfclere Jean-Frederic Clere
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: