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...
hoolio
Cirrostratus
Jan 16, 2013You're replacing the Location header with just fqdn.com. The browser assumes that means it should make a new GET request to it's current host/URL + fqdn.com. If they'd requested http://www.example.com/path, they'd make a new request to http://www.example.com/path/fqdn.com which isn't what you want.
Can you try Nitass's suggestion and reply back with what you find?
HTTP::header replace Location "[string map -nocase [list inside1.net fqdn.com inside2.net fqdn.com] [HTTP::header value Location]]"
If this doesn't work, can you log the new location header value and describe what request the client makes and the server's response?
log local0. "New Location: [HTTP::header replace Location]"
Aaron
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