5 Replies Latest reply on Oct 16, 2013 7:15 AM by pavel.orehov

    Override proxy decision with parameter

    pavel.orehov

      Hi,

       

      Our setup is HTTPD with Tomcat(s) and mod_cluster between them via AJP.

      We are not using sticky session, so every request may be proxied to different Tomcat instance.

       

      My question is if there is a way to proxy a request to specific Tomcat instance by for example URL parameter ?

       

      For example, assume the following setup:

      - Tomcat 1 with context /test

      - Tomcat 2 with context /test

       

      Request https://host:8443/test?node=1 will be proxied to Tomcat 1

      Request https://host:8443/test?node=2 will be proxied to Tomcat 2

       

      Thanks,

      Pavel