Forum Discussion
Joe_Pawlicki_70
Nimbostratus
Jul 21, 2008Rewriting HTTP::host
At the risk of looking like a newbie, is this supposed to work?:
when HTTP_REQUEST {
HTTP::host "foo.bar.com"
HTTP::uri "/some_uri"
}
Darned if I can get it to work, at least on v9.3.1:
BIGpipe: rule modification error:
01070151:3: Rule [my_rewrite] error:
line 2: [wrong args] [HTTP::host "foo.bar.com"]
I see lots of examples of rewriting HTTP::uri, or redirecting via a 302, but don't see any mechanism to directly rewrite the destination host.domain.
What am I missing? Thx.
11 Replies
- Patrick_Chang_7Historic F5 AccountWeb Accelerator has this open ended forward proxy capability.
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