Forum Discussion
esexon_28265
Nimbostratus
May 29, 2012Help with IRule
Can you please help with the following iRule which is not working at all.
For client IPs that do NOT match SS_CMS_Nets and hit the URI specified in SS_CMS_URLs redirect back to / ...
Brian_69413
Nimbostratus
May 29, 2012Oops, I see it now, try this line instead:
when HTTP_REQUEST {
if { not ([matchclass [IP::client_addr] equals $::SS_CMS_Nets]) and ([matchclass [string tolower [HTTP::uri]] contains $::SS_CMS_URLs]) } {
HTTP::redirect "/"
}
}