Forum Discussion
Edouard_Zorrill
Nimbostratus
Oct 28, 2016irule 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
...
Stanislas_Piro2
Cumulonimbus
Oct 31, 2016Hi,
you should also use ACL in APM:
- rule 1 : /app1 : Allow
- rule 2 : /app2 : Allow
- rule 3 : /app3 : Allow
- rule 4 : /app1 : reject
assign it in ACL assign or Advance ressource assign.
with ACL, APM will respond with a dedicated reject page.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
