Anil_Gupta_01_1
Jun 25, 2014Nimbostratus
irule for selecting pool based upon https website request
Hi,
We have Microsoft TMG server who is publishing our three website with one single Public IP address. As Microsoft TMG is EOL and EOS, We are planning to migrate the website on F5 LTM.
My Query is, how many VS, we need to create for publishing three website on F5 LTM and below irule will work if we create single VS and map the below irule.
We have created the below irule; need to know, whether it will work or not. when HTTP_REQUEST { if { [HTTP::uri] contains "aol.xyz.com" } { pool aol_pool } ifelse { [HTTP::uri] contains "yahoo.xyz.com" } { pool yahoo_pool } ifelse { [HTTP::uri] contains "google.xyz.com" } { pool google_pool } else { discard } }
any help is welcome.
Thanks in advance.