Forum Discussion
atoth
Cirrus
May 01, 2015Writing and Rewriting a URI
I've got a vip similar to the below.
when HTTP_REQUEST {`
switch -glob [HTTP::path] {
"/a/b/c" -
"/blah/blah/blah" {
HTTP::header replace "Host" "internal.domain.com"
pool redirect-pool
snat aut...
nitass
Employee
May 03, 2015As for the Stream profile, this would be something I need to enable on the VIP itself, before I use it in the irule, correct?
yes
Since this VIP already has a HTTP profile, it seems like Stream would only work on the HTTP payload, but not the headers.
yes. if uri is not embedded in response body, you do not need stream profile. you can rewrite response header by using HTTP::header command which you already used in your irule.
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