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]}
...
Are you asking how to do a reidrect in an iRule? try this page:
https://clouddocs.f5.com/api/irules/HTTP__redirect.html
https://clouddocs.f5.com/api/irules/HTTPToHTTPSRedirect_301.html