Forum Discussion

yuanqiang_22112's avatar
yuanqiang_22112
Icon for Nimbostratus rankNimbostratus
May 09, 2016

Irules for different pool

Hi please look this irules:

 

when HTTP_REQUEST { if { [HTTP::uri] contains "login" } { pool pc } elseif { [HTTP::uri] contains "hfs" } { pool pc2 } else { pool dns } } now I take a test---I input browser with "txhd.com/login",I have the anwser from pc pool , but if I input browser with "login.txhd.com" ,I gain the anwser from dns pool; How can gain user defined page according to my irulse when I input browser "login.txhd.com" or "hfs.txhd.com"? Please help me change the irules