Forum Discussion
DAVID_ROMERO_15
Nimbostratus
Oct 17, 2018APM Pool assign based on host header
Hello,
I have a scenario where users may hit one VIP for a number of different URLs. I'd like the APM to authenticate the users just for some host, therefore, I would like to execute an access policy depending on host header. Something like this:
when HTTP_REQUEST {
switch [HTTP::host] {
"www.XXX.com" {
ACCESS POLICY XXX
pool Pool_XXX
}
"www.YYY.com" {
pool Pool_YYY
}
"www.ZZZ.com" {
ACCESS POLICY ZZZ
pool Pool_ZZZ
}
}
}
`
How could I select access policies by host header?
Thanks, best regards.
- Stanislas_Piro2
Cumulonimbus
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