Forum Discussion
MDPF5_152674
Apr 07, 2016Altostratus
iRule replace HTTP Host header for virtual Host
Hi DevCentral community.
I would like to create an iRule that replaces the HTTP Host header in order to select a virtual host.
(watch out there is APM in place)
Client request:
Ho...
Walter_Kacynski
Apr 07, 2016Cirrostratus
The Host header does not return to the client, so HTTP_RESPONSE does not apply.
Try this
when HTTP_REQUEST {
if {[HTTP::host] equals "xxx.test.local"} { [HTTP::host] test.it }
}
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