Forum Discussion
Vernon_97235
Oct 27, 2015Historic F5 Account
I assume you still want to match the Host header and you want to match anything starting with "/user":
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] eq "domain.name.com" and not ([class match [IP::client_addr] equals sntru_net]) } {
switch -glob [HTTP::path] {
"/user" -
"/user/*" {
discard
}
}
}
}
You don't need the
default
branch because selection of the assigned pool is what will happen by default already.- Reginald_Sible1Oct 27, 2015NimbostratusThank you very much