Forum Discussion
nibinrodrigues_
Nimbostratus
Nov 02, 2016iRule for redirecting SharePoint traffic based on Path
Hi,
I need assistance in creating iRule to redirect SharePoint traffic based on path
I will have 1 Virtual server with Multiple Pool
Eg: -- should go to Pool 1
-- should go to Pool 2
I...
Hannes_Rapp
Nimbostratus
Nov 02, 2016That's L7 content switching. A redirect happens when you issue a HTTP 3xx response to another location.
when CLIENT_ACCEPTED {
set poolDefault [LB::server pool]
}
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"/path1*" { pool poolA }
"/path2*" { pool poolB }
"/pathN*" { pool poolN }
default { pool $poolDefault }
}
}
Samir_Jha_52506
Noctilucent
Nov 14, 2016@ Hannes irule is correct. Check the VIP & make sure above irule should be applied on highest order(1st).
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