Forum Discussion
jondyke_46152
Nimbostratus
Oct 14, 2008Losing data on redirect irule
I am trying to do a redirect using an irule on one of my virtual servers. However the problem is that the original message is a post rather than a get so when it arrives at the redirected address it ...
hoolio
Cirrostratus
Oct 15, 2008To rewrite the URI in the request, you can use HTTP::uri "/new/uri". To rewrite the URI in a response header, you can use 'HTTP::header replace'. To replace content in the response payload, you can use a stream profile and STREAM::expression based iRule.
There are quite a few examples in this forum and the wiki pages for the various commands. If you have a more specific idea of what you want to rewrite and/or try something which doesn't work, reply here and we can give you more detailed suggestions.
HTTP::uri (Click here)
HTTP::header (Click here)
STREAM::expression (Click here)
pool (Click here)
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