Forum Discussion

BaltoStar_12467's avatar
Jan 01, 2014

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.

  • i understand uri including host is proxy traffic (i.e. traffic when user uses proxy server).

     

    uri not-including host is non-proxy traffic.

     

  • 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.

     

  • did you try 11.4.1? it looks like they changed it there, again.