Forum Discussion

mayur_m_150368's avatar
mayur_m_150368
Icon for Nimbostratus rankNimbostratus
Apr 18, 2014

how multiple applications route through F5 using single irule.

If we have “abc.com” & “xyz.com” two url’s those are published through F5 on 443 port with same virtual server IP. Case 1:- If any request hits to virtual IP it should redirect to 8080 pool & Case 2:- If "/CVwebap" word comes in URL it should route to 9090 pool. How i can write irule of same?

 

8 Replies

    • mayur_m_150368's avatar
      mayur_m_150368
      Icon for Nimbostratus rankNimbostratus
      yes but still i have unclear that irule is not work for me. Do you have any other irule where i can resolve my issue?
    • mayur_m_150368's avatar
      mayur_m_150368
      Icon for Nimbostratus rankNimbostratus
      yes but still i have unclear that irule is not work for me. Do you have any other irule where i can resolve my issue?
  • yes but still i have unclear that irule is not work for me. Do you have any other irule where i can resolve my issue?

     

    i do not see any obvious wrong in the irule. if i were you, i would find out what the wrong is first. so, it can be fixed.

     

    just my 2 cents.

     

    • mayur_m_150368's avatar
      mayur_m_150368
      Icon for Nimbostratus rankNimbostratus
      i argee that irule have no issue. because if i splits this irule into parts like if i use only ----------------------------------------------------------------------------------------------- when HTTP_REQUEST { SSL::disable if { [string tolower[HTTP::uri]] contains "cvapweb" } { pool abc_9090 } else { pool abc_8080 } } } it works. ------------------------------------------------------------------------------- but if i use below one, when HTTP_REQUEST { SSL::disable if { [string tolower [HTTP::host]] equals "abc.com" } { if { [string tolower[HTTP::uri]] contains "cvapweb" } { pool abc_9090 } else { pool abc_8080 } } } it is not working... it only shows till security page beyond that it is not going. why is so??
  • yes but still i have unclear that irule is not work for me. Do you have any other irule where i can resolve my issue?

     

    i do not see any obvious wrong in the irule. if i were you, i would find out what the wrong is first. so, it can be fixed.

     

    just my 2 cents.

     

    • mayur_m_150368's avatar
      mayur_m_150368
      Icon for Nimbostratus rankNimbostratus
      i argee that irule have no issue. because if i splits this irule into parts like if i use only ----------------------------------------------------------------------------------------------- when HTTP_REQUEST { SSL::disable if { [string tolower[HTTP::uri]] contains "cvapweb" } { pool abc_9090 } else { pool abc_8080 } } } it works. ------------------------------------------------------------------------------- but if i use below one, when HTTP_REQUEST { SSL::disable if { [string tolower [HTTP::host]] equals "abc.com" } { if { [string tolower[HTTP::uri]] contains "cvapweb" } { pool abc_9090 } else { pool abc_8080 } } } it is not working... it only shows till security page beyond that it is not going. why is so??