Forum Discussion
Samir
Aug 28, 2020MVP
Put additional log statements and see whether traffic is coming to your irule or not.
Monitor the logs. it will give some clue
when HTTP_REQUEST {
log local0. "Client IP address is - [IP::client_addr]:[TCP::client_port]"
if { ( [IP::addr [IP::client_addr] equals 10.10.10.0/24] ) } {
log local0. "Client IP address is - [IP::client_addr]:[TCP::client_port]"
HTTP::redirect "ttp://www.site1.com/ibs/Pages/ca_en.aspx"
} elseif { ( [IP::addr [IP::client_addr] equals 10.10.11.0/24] ) } {
log local0. "Client IP address is - [IP::client_addr]:[TCP::client_port]"
HTTP::redirect "https://www.site2.com/scripts/index.aspx/bpg/travel/pages/Concur"
}
}