Forum Discussion
CraigM_17826
Altocumulus
Feb 03, 2010Odd issue with pools and a redirect
Hi all,
Sorry if this is a bit of a rambling post, but it's quite an odd issue I am seeing and I wanted to explain what we are doing and why. Hopefully it's not too confusing.
...
CraigM_17826
Altocumulus
Feb 05, 2010Hi Aaron,
ok I think I have it, this is what I have done. I would appreciate your comments.
Note to myself, learn to use the F5 wiki more often!
when HTTP_RESPONSE {
if { [HTTP::is_redirect] } {
if { [HTTP::header Location] contains "external_server" } {
HTTP::header replace Location [string map -nocase {external_server our_server} [HTTP::header value Location]]
return
}
}
}
So far it seems to be working.
Regards
Craig
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