Forum Discussion
zipperbox_11405
Nimbostratus
Jan 14, 2013Mulitple URL Replace and stream profile
I have a case where the internal naming of multiple servers have to be replaced by a single FQDN. I am succesful when dealing with one instance but not with many. Here is my current iRule, note: it s...
What_Lies_Bene1
Cirrostratus
Jan 14, 2013Can you try this please? I've added some spaces (which probably won't help) and some logging that might;
when HTTP_RESPONSE {
if { [HTTP::is_redirect] } {
HTTP::header replace Location "[string map -nocase [list inside1.net fqdn.com] [HTTP::header value Location]]" }
else {
log local0. "Changing inside2.net location header"
HTTP::header replace Location "[string map -nocase [list inside2.net fqdn.com] [HTTP::header value Location]]" }
}
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