Forum Discussion
Jayson_Gugliett
Nimbostratus
Feb 11, 2008HTTP/1.0 HOST INSERT
What is the best way via an iRule to insert a host into a HTTP/1.0 request. I have several websites sitting one (1) IIS 6.0 Server. HTTP/1.0 request fail when accessin the non-default website. 1.0 header requests do not include hostname, ex. HOST: image.xxxxx.com.
Running 9.4.1 on LTM
Any ideas?
Thanks
1 Reply
Sort By
- hoolio
Cirrostratus
Hi,when HTTP_REQUEST { if {not ([HTTP::header exists Host])}{ HTTP::header insert name Host value "myhost.example.com" } }
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