Forum Discussion
Zabeel_101104
Oct 20, 2011Nimbostratus
irule issue with priority groups and continue to end of script
Hi,
We have an issue with our irules where access-lists are used for users to only be able to access whats defined in the group for them only for website access. Issue we have is that I wou...
Michael_Yates
Oct 24, 2011Nimbostratus
You do not need to list a default action unless you have one. The normal default action (unless you specify one) will allow all traffic that does not qualify for an iRule action to be passed through to the default pool applied to the Virtual Server.
Looking at your iRule, you do not need a default action.
You could also combine these separate iRules into a single iRule if you wanted to:
when HTTP_REQUEST {
if { [class match [IP::client_addr] eq grp-1] } {
ACCESS::disable
switch -glob [string tolower [HTTP::host]] {
"websiteurlhere.com" { pool grp-server2 }
}
}
}
when ACCESS_ACL_ALLOWED {
switch -glob [string tolower [HTTP::host]] {
"host_url_here" { pool grp-webserver1 }
}
}
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