Forum Discussion
bsb
Nimbostratus
Jun 12, 2018irule for specific pools
Team,
would like to configure an irule to redirect based on client ip's.
when HTTP_REQUEST {
if { [matchclass [IP::client_addr] equals 1.1.1.0/24] } {
do nothing.
}
elseif...
oguzy
Cirrostratus
Jun 12, 2018Hi,
If you do not want to create a data group, you can try the below one:
when HTTP_REQUEST {
if { [IP::addr [IP::client_addr] equals 1.1.1.0/24] } {
do nothing
} elseif { [IP::addr [IP::client_addr] equals 2.2.2.0/24] } {
HTTP::redirect "https://www.test.com";
}
}
bsb
Nimbostratus
Jun 12, 2018below content were removed.
< html> < head>< title> regret message < /title>< /head> < /html>
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
