Forum Discussion
adcounts
Nimbostratus
Nov 11, 2015Redirects, page unavailable, and Office 365
I am currently facing an interesting issue. I need to perform a redirect but the destination will be based on the response. I need to send site.abccompany.com to https://sso.abccompany.com/adfs/ls?wa...
Stanislas_Piro2
Cumulonimbus
Nov 12, 2015same irule formatted:
when HTTP_REQUEST {
switch [HTTP::host] {
"site.abccompany.com" {
if { [active_members "Sharepoint_pool"] == 0 } {
HTTP::redirect "https://down.abccompany.com"
return
} else {
HTTP::redirect "https://abccompany.sharepoint.com[HTTP::uri]"
}
}
"sso.abccompany.com" { pool ADFS_pool }
default {}
}
}
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