Forum Discussion
Cory_Starr_1119
Nimbostratus
Sep 20, 2006redirect to v9.x rule
I have a v4.x rule I'm trying to migrate to v.9x
v4.x Rule looks like this:
if (client_addr == one of OPS_IP) {
use pool FS_OPS_Pool
}
else if (client_addr == one of A...
Sean_Speegle_86
Nimbostratus
Sep 26, 2006I have changed the rule a bit but it appears not to fire what am I missing?
when CLIENT_ACCEPTED {
if { [matchclass [IP::remote_addr] equals $::OPS_IP] } {
pool FS-OPS
} elseif { [matchclass [IP::remote_addr] equals $::ADMIN_IP] } {
pool FS-Prod
}
}
when HTTP_REQUEST {
HTTP::redirect "http://myurl/accessdenied.htm"
}
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