3 Replies Latest reply on Jan 5, 2017 5:39 AM by baddeley84

    mod_cluster forward traffic to app subfolder

    baddeley84

      0down votefavo

       

       

      I am running mod_cluster 1.2.11 in front on some JBoss AS 7.2 nodes

      I have a VirtualHost for one of our subdomains, eg. store.myapp.com

      I would like to forward traffic to a particular subfolder in our app (eg. localhost/myapp/user/appstore/)

      I have tried config like this...

      <VirtualHost *:443>  
          ServerName store.myapp.com
          ProxyPass / balancer://mod-cluster/user/appstore stickysession=JSESSIONID|jsessionid timeout=30
          ProxyPassReverse / balancer://mod-cluster/user/appstore
          ProxyPreserveHost On 
      </VirtualHost>

      But it seems the balancer is unable to forward traffic to a sub directory

      Any suggestions...?