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 / ...
JCohen
May 30, 2012Ret. Employee
OK... can't edit my post and put the code formatting around it, so sorry for the repost.
when HTTP_REQUEST {
if {not {[class match [IP::client_addr] equals SS_CMS_Nets]) and ([class [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