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

ProxyPass with subdirectory

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 1.3.1.Final
    • Core + SPIs
    • None

      in apache

      Listen 0.0.0.0:6666
      <VirtualHost *:6666>
      ManagerBalancerName mycluster
      ServerAdvertise On http://XXX.XXX.XXX.XXX:6666
      AdvertiseFrequency 5
      AllowDisplay On
      EnableMCPMReceive
      </VirtualHost>

      ProxyPassMatch ^/apps/websocket/ ws://10.77.1.150:8080
      ProxyPassReverse /apps/websocket/ http://xxxxxxxx/apps/websocket/

      <LocationMatch ^/apps/((?!websocket).*)$>
      #ProxyPass ajp://XXX.XXX.XXX.XXX:8009
      ProxyPass balancer://mycluster
      </LocationMatch>

      if you get LocationMatch and replace balancer for ajp its work, but with balancer every time it try to get from balancer ignoring my ProxyPassMatch.
      But with ajp or removing mod_cluster and use mod_balancer its work ultil with balancer://mycluster.

      I think that is something in core of mod_cluster

            rhn-engineering-jclere Jean-Frederic Clere
            skull_jira Juliano Carlos da Silva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: