Jerry_Hsu_33186
May 12, 2014Nimbostratus
iRule to select pool member depending on client source ip address
Hi There,
I create an iRule for HTTP redirect based on the source IP address as below
it can be work!
when HTTP_REQUEST { if {[matchclass [IP::client_addr] equals $::datagroup1]} {pool pool1 log local0. "[IP::client_addr] is 1"} if {[matchclass [IP::client_addr] equals $::datagroup2]} {pool pool2 log local0. "[IP::client_addr] is 2"} else {pool pool3 log local0. "[IP::client_addr] is 3"} }
Now I need to apply it on HTTPS, but it seems unavailable
Can tell me how to modify for HTTPS redirect?
Thank you