Forum Discussion
esexon_28265
May 29, 2012Nimbostratus
Help 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
May 29, 2012Nimbostratus
Oops, 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 "/"
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects