Forum Discussion
jkb87_298402
Nimbostratus
Nov 08, 2016append standard ports to HOST: www.xxx.com:443 or 80
Is there a way to append the standard ports (80/443) to the http request host field. at present all I can see is the originating url HOST:
my preference is to see HOST: or 80
can this be done wi...
Kai_Wilke
MVP
Nov 08, 2016Hi Jkb87,
you may try the iRule below to a.) strip any existing
:PortNumber
informations from the incomming HOST-Header (if exist) and to b.) add the used Virtual Server TCP-Port to the forwarded HOST-header value.
when HTTP_REQUEST {
HTTP::host "[getfield [HTTP::host] ":" 1]:[TCP::local_port]"
}
Cheers, Kai
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