Forum Discussion
BIG-IP : rewrites using HTTP::uri
BIG-IP 11.4.0 Build 2384.0 Final
I've seen examples where a rewrite is accomplished as follows :
HTTP::uri "http://www.mydomain.com/folder/page.html"
Which seems to work -- but I find this strange because it includes the host.
It seems more logical that host and uri be set separately :
HTTP::host "www.mydomain.com"
HTTP::uri "/folder/page.html"
Or what exactly is the recommended form ?
Thanks.
- nitassEmployee
i understand uri including host is proxy traffic (i.e. traffic when user uses proxy server).
uri not-including host is non-proxy traffic.
- TortiAltostratus
for me it looks like in rfc(3986), now. I was surprised, too. Because in 11.2 and older firmware, it was without the host like the path. If I understand the rfc correctly, the host is must have in a uri.
- TortiAltostratus
did you try 11.4.1? it looks like they changed it there, again.
Recent Discussions
Related Content
* 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