Forum Discussion
CGI
Altostratus
Jan 11, 2011Irule problem
Hi iam trying to combine a couple of functions into one irule, the irule should look at the origin land
of the request allowing only countries i a specific data list and then look at the the i...
Chris_Miller
Altostratus
Jan 12, 2011
when HTTP_REQUEST {
if { $allowed eq 1 and [whereis [IP::client_addr] country ] eq "dk" and [HTTP::uri] contains "/compass/" } {
pool Compass_http_pool
} else { pool OnDemand_htp_pool }
}
See if that compiles/works.
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