Forum Discussion
Michael_107360
Cirrus
Feb 11, 2014Overwrite Response Headers with existing pool selection irule
I have an application that direct's traffic to a one of 2 pools and the irule works perfectly
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/ac" {
pool V249.48-P31202
}
"/clie...
Kevin_Stewart
Employee
Feb 11, 2014If you're caught in a redirect loop, there's a very good chance that the application is causing this because it doesn't like what the client is asking for. Sometimes this is a specific URI value, but more often than not I find its a Host header. Give this a shot: add the following to the top of your HTTP_REQUEST event.
HTTP::header replace Host "ssoiextrafedqatmp.ext.ampf.com:31202"
Otherwise, take a closer look at what it's actually redirecting you to.
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
