Forum Discussion
kc2kth_49679
Nimbostratus
Feb 06, 2009Rewrite host and URI, then redirect
I thought I was pretty close on this one, but I can't quite get it to work. I need to rewrite a portion of a URI (drop part of the path and change the name of the page), change the host name, t...
kc2kth_49679
Nimbostratus
Feb 16, 2009Replying to myself here since I did some more work on this, but still don't have it working the way I was hoping. Basically we want to try and avoid a large number of redirects that would occur with our original solution and instead update the uri and select a pool for the connection. Poking around here I found some examples that used HTTP::header replace, but I haven't had much luck.
Updating this post since it hit me that what I'm trying to replace is the payload, not a header. I'm looking into using HTTP::payload replace now to rewrite the client request.
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