Forum Discussion
Peter_Bevington
Feb 14, 2012Nimbostratus
Redirection
Not been iRuling for very long
I have a requirement to redirect traffic from to
I don't want to use HTTP::redirect as this will create more traffic and would like to redirect to a pool
I'm doing the following but am finding that the "new-pool' isn't being used
switch -glob [string tolower [HTTP::host]] {
"server1*" {
HTTP::header replace Host $spr_site
switch -glob [string tolower [HTTP::uri]] {
"/" {
HTTP::uri "NEW-URI"
}
}
pool "New-Pool"
}
}
Anyone have any help or advice ?
Thanks
- hooleylistCirrostratusHi Peter,
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