KeithJ__312872
Mar 22, 2019Nimbostratus
iRule redirects to different VS Authentication Profiles
Is there a way to pick different VS authentication profiles to be used based on url/uri?
We currently redirect to different pools based on url/uri and would also like to use specific auth profiles now for each one also.
Current iRule snip:
when HTTP_REQUEST {
switch -glob "[string tolower [HTTP::host][HTTP::path]]" {
"*opm.gov/umbraco*" {
pool opm-uat-umbraco-pool }
"*uat.cioa.opm.gov*" {
pool opm-uat-cioa-pool }
What we would like:
when HTTP_REQUEST {
switch -glob "[string tolower [HTTP::host][HTTP::path]]" {
"*opm.gov/umbraco*" {
pool opm-uat-umbraco-pool
auth_profile xxxx_yyyy }
"*uat.cioa.opm.gov*" {
pool opm-uat-cioa-pool
auth_profile xxxx_zzzz }