Forum Discussion

MO_Aden_311156's avatar
MO_Aden_311156
Icon for Nimbostratus rankNimbostratus
Feb 21, 2017

irule for two web app sharing one domain name

i am hosting two web applications behind F5 one coldfusion server and one asp.net , i need to create Irule so that when client use uri which contains aspx to go to specific pool other wise go to the default pool which is cmf(coldfusion ) , please help me with this

 

2 Replies

  • when HTTP_REQUEST { if { [HTTP::uri] contains ".aspx" } {

    pool asp_pool
    

    }

    else {

    pool cmf_pool }

    i am new in this irule creation but i am thinking this logic is this correct , and how this can effect the production now i have only CMF app working and i dont have test environment