Edouard_Zorrill
Oct 28, 2016Nimbostratus
irule redirect and switch -glob: Default sentence question
Guys, I have the following:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/app1" {
pool app1_pool
}
"/app2" {
pool app2_pool
}
"/app3/" {
pool app3_pool
}
default {
ACCESS::session remove
}
}
}
Rather than killing the session with "ACCESS::session remove", what I can use there to send 404 to all pages that are default.
Thanks,